Managing Subscriber Lists

Adding Subscribers via the dhrystones Newsletters API

As well as being able to import and export your subscriber lists as CSV files, dhrystones Newsletters has an API (Application Programming Interface) that developers can use to manage your subscriber lists.

For example, you may already have subscriber handling built into your content management system, but you want to use dhrystones Newsletters to send your actual campaigns. You could use the API to connect your CMS to dhrystones Newsletters and automatically keep everything up to date. So people added to or removed from your list on one would be synchronized with the database on the other end.

If you require any further information regarding the API or any other integration, please contact us.

Create a subscription confirmation email

With some clients (or even your own lists) you might find that people opted-in, but it was some time ago. Or perhaps you want to change the focus of the email, and you’d like to have people confirm they are still interested. This is a smart thing to do, since it treats your subscribers with respect, and can avoid spam complaints.

What you can do with dhrystones Newsletters is send a one off campaign to your older list that contains a special link. Your readers can click the link and be automatically added to a new, completely opt-in subscriber list. From then on, you only send to the new list.

So how do you do it? First things first, make sure you have permission to contact the recipients in the first place - since this technique is often used on older lists that haven’t been sent to in a while. As we state in our anti-spam policy, permission doesn’t age well and you can’t use Campaign Monitor to email anyone you haven’t contacted in the last 2 years.

Capturing subscribers from an existing form

1. Use an extension or plugin

This is the simplest of all if you happen to be using a suitable CMS or shopping cart. We’ve got a bunch of plugins, extensions and modules for systems like Expression Engine, Wordpress, Drupal, Joomla, Magento and FoxyCart.

2. Using the API

Lots of you already know about (and use) the API, and this is the obvious way you can achieve this. In our example, when a user submits the contact form on your web site, you're already going to have some code in place to gather the contents of the form, and send them to you in an email (usually in something like PHP, ASP.NET, Perl etc). We just need to make a slight addition to this.

Using your programming language of choice you can check to see if the user has checked the ‘Subscribe to our newsletter’ checkbox, and if they have, make a call to our API to save this person to your subscriber list. And don’t worry if they’re already in there - we won’t add them twice.

3. Redirecting to specific URL’s

If you're not too keen on the idea of using our API, there is another method you can use, which works by redirecting to a URL on our server which will save the user to the list, then send them back to your website.

So just like before, you gather the contents of your form, and send the email to your client. Now, to get the users name and email address into dhrystones Newsletters, we need to redirect the user to a specific URL.

When the user is redirected to the relevant URL, they will be added to your list, but what happens next? Well, hopefully you’ve added a custom subscribe page, and the user will be redirected back to the subscribe confirmation page you’ve specified.

The best part is, these approaches happen so quickly the user won’t notice a thing.


© dhrystones newsletters 2010, all rights reserved