How to call a function RIGHT AFTER the UseResponse registration email is sent out?
We are getting ready to launch the UseResponse forums for our high traffic site Ask Dan & Jennifer.
However, it is very important for us that EVERY person who signs up for this UseResponse forum site is ALSO added to our email list, which is managed by our email marketing provider, MailChimp.
I have done the research, and MailChimp has a very simple API, and I believe it can easily be integrated with UseResponse.
I have the code that is required, see the 2 files attached:
- MCAPI.class.php - the full MailChimp API file
- store-address.php - the function we wrote to add subscribers to our MailChimp email list
The function to call is in store-address.php, and the call is very simple, requiring just these 2 parameters: name and email of the subscriber.
Here is the question:
How can we call this function RIGHT AFTER the UseResponse Registration email ("welcome, here's your login/password") is sent out?
P.S. in case you are curious about why we require this, here's a bit of clarification:
For us email marketing is a big part of our business, and we manage over 25,000 subscribers with MailChimp already for maximum deliverability, flexibility, etc.
We are aware of the UseResponse newsletter feature, and while that will be useful for some people who don't have a full email marketing effort already, this is not an option for us because we already have this service with MailChimp, and we are very happy with their service. :-) We do not want to manage our email campaigns in 2 different places.