Using Smartermail Web Services and API to create domains with ColdFusion

We have moved our email services in house over to SmarterMail because of its history, power and flexibility. We used to use MailEnable, and although we like supporting Aussie companies, Smartermail is just that bit more mature.

Now to make it easy on clients and ourselves, we have minimised the amount of knowledge required to set up new domains, and by adding this code into out intranet, its now simply a case of clicking a button to have the clients domain added, and have the details available ready to hand out. Then we simply hook up the DNS and MX records and we are off!

[More]

Discount Images on Amazon ECS images

This is a nice feature to help people visualise the savings they can be making on a product.

Add a save 20% off icon to your images.

[More]

Using Your Associates ID with Amazon ECS

The URL's that Amazon returns for you through ECS can be altered to include your Amazon associates tag in the URL without you having to butcher and manually alter the URL.

How? Simply add it to the request URL you use.

<cfset ASIN = ""><!--- The asin code you just picked --->
<cfset accesskey = ""><!--- Your unique API access key --->
<cfset ASIN = "sixfive-21"><!--- Your associates ID --->
<cfset var AmazonURL = "http://ecs.amazonaws.co.uk/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=#accesskey#&AssociateTag=#associateTag#&Operation=ItemLookup&MerchantID=All&ItemId=#ASIN#&ResponseGroup=Medium">

Now all links and URL's will be nicely formatted for you.

Why do these things if it can be done for you?

Using the Amazon Ecommerce Services in ColdFusion

I have had a long a flirting relationship with Amazon ECS thru using it with PHP and SOAP, and now that I am totally ColdFusion reliant I have revisited the products section on my site, and done something a bit more useful with it.

Amazon ECS is a pretty simple system.

  1. Hit a URL with some variables
  2. receive XML response
  3. process XML to something friendly
  4. display or save that info

So how is it done?

[More]

BlogCFC was created by Raymond Camden. This blog is running version 5.9.001.