Archive CiviMail emails with Drupal Mailhandler¶
Follow these steps to archive emails that you send via CiviMail.
- Install the mailhandler module.
- Set up an email on your server, for example
newsletter@example.com. - Make a content type in Drupal called "Newsletter Archives".
- Follow the mailhandler module on how to do this so that emails are posted as nodes to this content type.
- Setup mailhandler to check this box per its instructions.
- Make a Group in CiviCRM, for example called "Newsletter2Archive".
- Make one member in this group with the email address you created for your server above.
- When you send an email and choose this group from the recipient list, the email goes there, is taken in by the mailhandler, and is added to the Drupal node database.
- Make a view of ALL nodes of this content type and display them at url newsletter_archives.
You now have an HTML archive of emails in Drupal from CiviMail.