<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dead-Simple Software &#187; web services</title>
	<atom:link href="http://blog.paloalto.com/tag/web-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.paloalto.com</link>
	<description>The official Palo Alto Software product blog</description>
	<lastBuildDate>Thu, 12 Nov 2009 19:27:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Integrating Email Center Pro</title>
		<link>http://blog.paloalto.com/email-center-pro/integrating-email-center-pro/</link>
		<comments>http://blog.paloalto.com/email-center-pro/integrating-email-center-pro/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 04:59:53 +0000</pubDate>
		<dc:creator>Evan</dc:creator>
				<category><![CDATA[Email Center Pro]]></category>
		<category><![CDATA[hosted software]]></category>
		<category><![CDATA[shared email]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://www.deadsimplesoftware.com/?p=98</guid>
		<description><![CDATA[Simple techniques to integrate Email Center Pro into your workflow.]]></description>
			<content:encoded><![CDATA[<p>This post is about integrating Email Center Pro with your pre-existing administration system. You will learn how to create a URL that, when visited, creates a new email in Email Center Pro with a specific recipient, subject, template, and filled-in Input Fields.</p>
<p>I&#8217;ll warn you ahead of time, this post was written for programmers. If you&#8217;re an Email Center Pro end user, you probably don&#8217;t need to look at this. If you&#8217;ve never written a line of code in your life, you&#8217;re probably better off just skipping this article or handing it off to someone else.</p>
<p>If you&#8217;re the brave sort, keep reading.</p>
<p><span id="more-98"></span></p>
<p style="text-align: center;"><a title="Picture 2 by paloaltosoftware, on Flickr" href="http://www.flickr.com/photos/paloalto/3309057799/"><img class="aligncenter" src="http://farm4.static.flickr.com/3590/3309057799_ecc40a9d3e_o.png" alt="Picture 2" width="335" height="126" /></a></p>
<p>Here is a screenshot from inside of our Email Center Pro backend. From time to time we may need to contact the person who holds the account for whatever reason- billing issues, to follow up with a phone call, or sometimes just to say &#8220;hi&#8221;. In its current form, it takes a few clicks to get there. Every time we want to contact an account owner we have to go through the long and arduous task of click, drag, copy, change tab, compose, click &#8220;To&#8221; field, paste.  Let&#8217;s get this down to one click.</p>
<p>All you need to do to is output a link that looks like this:</p>
<blockquote><p><code>&lt;a href="http://<strong>paloalto</strong>.emailcenterpro.com/Client#mailto:<strong>emailcenterpro@paloalto.com</strong>" target="_blank"&gt;<strong>emailcenterpro@paloalto.com</strong>&lt;/a&gt;</code></p></blockquote>
<p>(I&#8217;ve bolded the parts you&#8217;ll need to change.) By adding the #mailto:emailcenterpro@paloalto.com to the link, we tell Email Center Pro that we want to create a new email addressed to emailcenterpro@paloalto.com. We can add a link to this address, dynamically populating the URL part, so that we get something like this:</p>
<p style="text-align: center;"><a title="integrating ECP - 2 by paloaltosoftware, on Flickr" href="http://www.flickr.com/photos/paloalto/3309072849/"><img class="aligncenter" src="http://farm4.static.flickr.com/3624/3309072849_f6d42a9c73_o.png" alt="integrating ECP - 2" width="335" height="126" /></a></p>
<p>Clicking that link leads us here:</p>
<p style="text-align: center;"><a title="integrating ECP - 3 by paloaltosoftware, on Flickr" href="http://www.flickr.com/photos/paloalto/3309903836/"><img class="aligncenter" src="http://farm4.static.flickr.com/3501/3309903836_ba47d364f2_o.png" alt="integrating ECP - 3" width="377" height="169" /></a></p>
<p>Wow! One click, and we&#8217;re ready to compose an email. We&#8217;re already saving time! Not a lot, but every second counts.</p>
<p>Without much more work, you can do some very powerful things. Sometimes we get calls from people who signed up for Email Center Pro but they&#8217;ve lost the email they got when they signed up, and they can&#8217;t remember the URL or user name that they signed up for/with. We send this sort of email fairly often, so we have a template for it in Email Center Pro. The template explains what URL to go to, tells them the user name they signed up for, and gives them information on how to change their password.</p>
<p style="text-align: center;"><a title="Integrating ECP - 4 by paloaltosoftware, on Flickr" href="http://www.flickr.com/photos/paloalto/3309906518/"><img class="aligncenter" src="http://farm4.static.flickr.com/3350/3309906518_9fb2078446_o.png" alt="Integrating ECP - 4" width="448" height="316" /></a></p>
<p>We can look the account up using the user&#8217;s email address or company name, but then to actually get the information to the account owner, we have to: copy the email address, change tab, compose, paste the email address, type a subject, load a template, change a few words in the template (username and URL), and finally send. That&#8217;s a lot of mouse clicks and keystrokes. How could we speed this up?</p>
<p>First, let&#8217;s pick a subject to use. &#8220;Your account information&#8221; sounds pretty good. To add this to our link, we&#8217;ll just add it as a parameter to our URL:</p>
<blockquote><p><code>http://paloalto.emailcenterpro.com/Client#mailto:emailcenterpro@paloalto.com<strong>?subject=Your account information</strong></code></p></blockquote>
<p>I&#8217;ve bolded the new part. To be totally correct, we should escape those spaces, but most modern browsers will do this automatically. Plus, it reads better without %20 everywhere.</p>
<p>Now, we&#8217;re going to find the ID of the template we use. To do this, open the template for editing, and look in your address bar.</p>
<p style="text-align: center;"><a title="Integrating ECP - 5 by paloaltosoftware, on Flickr" href="http://www.flickr.com/photos/paloalto/3309912322/"><img class="aligncenter" src="http://farm4.static.flickr.com/3511/3309912322_84c5145750.jpg" alt="Integrating ECP - 5" width="500" height="24" /></a></p>
<p>You&#8217;ll see something like this:</p>
<blockquote><p><code>http://paloalto.emailcenterpro.com/Client#templateId=<strong>afd17f09-e615-3e92-48eb-534bc28ca27c</strong></code></p></blockquote>
<p>The bolded part is what we&#8217;re interested in. It&#8217;s the <strong>templateId</strong>, a globally unique identifier (GUID) that identifies this template. We&#8217;ll add this to our URL also:</p>
<blockquote><p><code>http://paloalto.emailcenterpro.com/Client#mailto:emailcenterpro@paloalto.com?subject=Your account information<strong>&amp;templateId=afd17f09-e615-3e92-48eb-534bc28ca27c</strong></code></p></blockquote>
<p>Great! We&#8217;re almost there. We don&#8217;t have to type the subject or select the template anymore, but we still have to copy and paste the user&#8217;s information into the email. This is where our newest feature, Input Fields, come in handy.</p>
<p>Remember what our template looked like?</p>
<p style="text-align: center;"><a title="Integrating ECP - 10 by paloaltosoftware, on Flickr" href="http://www.flickr.com/photos/paloalto/3309089713/"><img class="aligncenter" src="http://farm4.static.flickr.com/3412/3309089713_8257eaaf9d_o.png" alt="Integrating ECP - 10" width="445" height="131" /></a></p>
<p>The rows of underscores are the cue to replace part of the template. We updated the template to use Input Fields, now it looks like this:</p>
<p style="text-align: center;"><a title="Integrating ECP - 9 by paloaltosoftware, on Flickr" href="http://www.flickr.com/photos/paloalto/3309089749/"><img class="aligncenter" src="http://farm4.static.flickr.com/3332/3309089749_253bbde284_o.png" alt="Integrating ECP - 9" width="476" height="132" /></a></p>
<p>See the Input Fields? They look like normal words, but they&#8217;re surrounded by {curly braces}. We don&#8217;t need to configure these anywhere, just add them in as needed. You can fill these out in the interface, or you can pass in values from the URL like this:</p>
<blockquote><p><code>http://paloalto.emailcenterpro.com/Client#mailto:emailcenterpro@paloalto.com?subject=Your account information&amp;templateId=afd17f09-e615-3e92-48eb-534bc28ca27c<strong>&amp;name=Evan&amp;subdomain=paloalto&amp;username=admin</strong></code></p></blockquote>
<p>Clicking this link will automatically fill in the Input Fields.</p>
<p style="text-align: center;"><a title="Integrating ECP - 8 by paloaltosoftware, on Flickr" href="http://www.flickr.com/photos/paloalto/3309089815/"><img class="aligncenter" src="http://farm4.static.flickr.com/3544/3309089815_caee3ff21e_o.png" alt="Integrating ECP - 8" width="450" height="129" /></a></p>
<p>Now we can just click &#8220;Send&#8221; and we&#8217;ve managed to shrink a long, multi-step process into just a few clicks. We can easily add this link into our admin panel, automatically pulling the details from our database.</p>



Share and Enjoy:


	<a rel="nofollow" id="print" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Fintegrating-email-center-pro%2F&amp;partner=sociable" title="Print this article!"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Fintegrating-email-center-pro%2F&amp;title=Integrating%20Email%20Center%20Pro&amp;bodytext=Simple%20techniques%20to%20integrate%20Email%20Center%20Pro%20into%20your%20workflow." title="Digg"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us" href="http://delicious.com/post?url=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Fintegrating-email-center-pro%2F&amp;title=Integrating%20Email%20Center%20Pro&amp;notes=Simple%20techniques%20to%20integrate%20Email%20Center%20Pro%20into%20your%20workflow." title="del.icio.us"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Fintegrating-email-center-pro%2F&amp;t=Integrating%20Email%20Center%20Pro" title="Facebook"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="email" href="mailto:?subject=Integrating%20Email%20Center%20Pro&amp;body=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Fintegrating-email-center-pro%2F" title="E-mail this story to a friend!"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" id="friendfeed" href="http://www.friendfeed.com/share?title=Integrating%20Email%20Center%20Pro&amp;link=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Fintegrating-email-center-pro%2F" title="FriendFeed"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow" id="stumbleupon" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Fintegrating-email-center-pro%2F&amp;title=Integrating%20Email%20Center%20Pro" title="StumbleUpon"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitter" href="http://twitter.com/home?status=Integrating%20Email%20Center%20Pro%20-%20http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Fintegrating-email-center-pro%2F" title="Twitter"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.paloalto.com/email-center-pro/integrating-email-center-pro/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Email Center Pro Uses Amazon Web Services</title>
		<link>http://blog.paloalto.com/email-center-pro/email-center-pro-uses-amazon-web-services/</link>
		<comments>http://blog.paloalto.com/email-center-pro/email-center-pro-uses-amazon-web-services/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 21:31:17 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Email Center Pro]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[ecp update]]></category>
		<category><![CDATA[s3]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://www.deadsimplesoftware.com/index.php/email-center-pro/email-center-pro-uses-amazon-web-services/</guid>
		<description><![CDATA[We originally designed Email Center Pro to be used as an internal tool to manage and track email communication with customers.  Then we realized other businesses could benefit from our solution as well.   This software-as-a-service model required us to put availability, performance and scalability at the forefront of our design requirements.  [...]]]></description>
			<content:encoded><![CDATA[<p>We originally designed <a href="http://www.emailcenterpro.com" title="Group Email Management Service" target="_blank">Email Center Pro</a> to be used as an internal tool to manage and track email communication with customers.  Then we realized other businesses could benefit from our solution as well.   This software-as-a-service model required us to put availability, performance and scalability at the forefront of our design requirements.  Amazon Web Services have provided us with the tools that we need to address those concerns easily while focusing our efforts on developing a great product.</p>
<p><a href="http://aws.amazon.com" title="Amazon Web Services" target="_blank">Amazon Web Services</a> are at the core of the Email Center Pro infrastructure.  We started out by storing all of the message content using the <a href="http://www.amazon.com/S3-AWS-home-page-Money/b/ref=sc_fe_l_2?ie=UTF8&amp;node=16427261&amp;no=3435361&amp;me=A36L942TSJ2AJA" title="S3" target="_blank">Simple Storage Service</a> (S3).  This provides each of our customers with an infinitely scalable storage area for their emails, attachments, and templates.  As a small business, it helps us to sleep better knowing that our users&#8217; data is safely stored in secured, managed data centers, and that we&#8217;re able to leverage the reputation and trust that Amazon has built over the last decade-plus of business.</p>
<p style="text-align: center"><img src="http://i211.photobucket.com/albums/bb88/paloaltosoftware/ecp-infrastructure.gif" alt="Email Center Pro Infrastructure" height="396" vspace="5" width="600" /></p>
<p style="text-align: center">&nbsp;</p>
<p>We were so happy with the reliability and cost-benefit of using S3 that the next step was taking our application from traditional managed hosting to a full <a href="http://www.amazon.com/EC2-AWS-Service-Pricing/b/ref=sc_fe_l_2?ie=UTF8&amp;node=201590011&amp;no=3435361&amp;me=A36L942TSJ2AJA" title="EC2" target="_blank">Elastic Compute Cloud</a> (EC2) platform.  We&#8217;ve developed a set of instance configurations that can be used to run any of the services that power Email Center Pro in &#8220;the cloud.&#8221;  As a result, we can nearly instantly launch more computing power to balance load in times of peak traffic or mail volume.   Another benefit of EC2 is that when we prepare to release updates, we can test them on instances running in an identical configuration to the production environment, parallel to the publicly accessible version of the application, and only when we need to test.  For our relational database needs, we have been participating in <a href="http://www.elastra.com" title="Elastra" target="_blank">Elastra</a>&#8217;s beta program.  They&#8217;ve developed a way to run database servers on EC2 using S3 for persistent storage.  As a result, we&#8217;ve been able to decrease database latency, since the Elastra instances are running within the same network as Email Center Pro application servers.  The only component of our application that does not run within the sphere of Amazon Web Services is our mail gateway servers- and it&#8217;s just because we need a valid reverse DNS entry in order to avoid blacklisting.</p>
<p>In its early days, EC2 was primarily used to handle batches of asynchronous, processing-intensive tasks, but Amazon has made strides recently with features that have turned it into a true hosting platform.  New developments such as static IP addressing and availability zones allow us to provide great uptime to our customers and protect against any single point of failure.  And in the event of a true catastrophe, we do maintain traditional on-disk backups and warm database servers to get us back up and running quickly.   In the near future, Amazon will be releasing persistent storage volumes for EC2, which will improve our search infrastructure, caching and more.  Just today, they released full-blown technical support contracts, making EC2 a truly viable replacement for managed hosting.</p>
<p>When people hear about Amazon Web Services, buzzwords like &#8220;scalability&#8221; and &#8220;reliability&#8221; abound&#8211;  but the proof is in the pudding.  Email Center Pro is an example that you really can build an application entirely on the Amazon Web Services platform with great results.</p>
<p>Alex Boone<br />
Senior Software Design Engineer</p>



Share and Enjoy:


	<a rel="nofollow" id="print" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Femail-center-pro-uses-amazon-web-services%2F&amp;partner=sociable" title="Print this article!"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" id="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Femail-center-pro-uses-amazon-web-services%2F&amp;title=Email%20Center%20Pro%20Uses%20Amazon%20Web%20Services&amp;bodytext=We%20originally%20designed%20Email%20Center%20Pro%20to%20be%20used%20as%20an%20internal%20tool%20to%20manage%20and%20track%20email%20communication%20with%20customers.%20%20Then%20we%20realized%20other%20businesses%20could%20benefit%20from%20our%20solution%20as%20well.%20%20%20This%20software-as-a-service%20model%20required%20us%20" title="Digg"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us" href="http://delicious.com/post?url=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Femail-center-pro-uses-amazon-web-services%2F&amp;title=Email%20Center%20Pro%20Uses%20Amazon%20Web%20Services&amp;notes=We%20originally%20designed%20Email%20Center%20Pro%20to%20be%20used%20as%20an%20internal%20tool%20to%20manage%20and%20track%20email%20communication%20with%20customers.%20%20Then%20we%20realized%20other%20businesses%20could%20benefit%20from%20our%20solution%20as%20well.%20%20%20This%20software-as-a-service%20model%20required%20us%20" title="del.icio.us"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Femail-center-pro-uses-amazon-web-services%2F&amp;t=Email%20Center%20Pro%20Uses%20Amazon%20Web%20Services" title="Facebook"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="email" href="mailto:?subject=Email%20Center%20Pro%20Uses%20Amazon%20Web%20Services&amp;body=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Femail-center-pro-uses-amazon-web-services%2F" title="E-mail this story to a friend!"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" id="friendfeed" href="http://www.friendfeed.com/share?title=Email%20Center%20Pro%20Uses%20Amazon%20Web%20Services&amp;link=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Femail-center-pro-uses-amazon-web-services%2F" title="FriendFeed"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow" id="stumbleupon" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Femail-center-pro-uses-amazon-web-services%2F&amp;title=Email%20Center%20Pro%20Uses%20Amazon%20Web%20Services" title="StumbleUpon"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" id="twitter" href="http://twitter.com/home?status=Email%20Center%20Pro%20Uses%20Amazon%20Web%20Services%20-%20http%3A%2F%2Fblog.paloalto.com%2Femail-center-pro%2Femail-center-pro-uses-amazon-web-services%2F" title="Twitter"><img src="http://blog.paloalto.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.paloalto.com/email-center-pro/email-center-pro-uses-amazon-web-services/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
