Open dahacouk opened 9 years ago
I have reviewed the integration with MailChimp on a branch (kendra-51). there is a lot to discuss. _First Steps_
To create and send a newsletter
Mandrill
I have added newsletter subscription details to the user profile page - but ot only shows up once the user data has been updated. So if you simply save a user the form appears. I have set it so that as the user or an admin you can edit the subscription status on the newsletter tab.
Having discussed/tested this we should investigate updating all of the users in Drupal:
We also need views where we can:
OK we have two functions that we can use: mailchimp_subscribe() & mailchimp_unsubscribe() I can write a wrapper function that takes the user ID and the List ID. The List ID is available from the mailchimp: list->Settings->List name and Campaign defaults
The subscribe finction subscribed the user ok but for old user did not create the needed record in the drupal DB so ended up updating the field programmatically and that worked
Pushed new functions to dev
Bump! Can we chat about Mandrill? As I want to kill the Google Apps account that currently is SMTP server for all sites.
I have tested the Mandrill integration on my local machine and committed the changes on the mandrill_mail branch. With a small amount of configuration I was able to successfully send myself a password reset email using mandrill.
I have run the mailchimp subscription script and we now have most of the users subscribed:
An error occurred subscribing krogers12@home.com to list bbdda9b35c. "MailChimp API call to <em class="placeholder">lists/subscribe</em> failed: Internal Server Error: List_RoleEmailMember: krogers12@home.com seems to be a role-based or known invalid email address(es), and cannot be imported. You'll need subscribe it manually. Why we don't allow role-based addresses"
@dahacouk Review and close if happy
Perhaps we can find an SMTP service provider?
This made me feel warm inside and why we should use both: