The Simplenews and Mimemail modules allow you to create and send an HTML e-mail message in the form of a newsletter issue from within Drupal. Simplenews allows you to create the message. Mimemail allows you to send the message in HTML format.
- Skill level:
Other People Are Reading
Things you need
- Simplenews module
- Mimemail module
- File compression program
- FTP client
Download the version of Simplenews appropriate for your version of Drupal from drupal.org (see the link in References). Save the file rather than opening it.
Download the version of Mimemail appropriate for your version of Drupal from drupal.org (see the link in References). Save the file rather than opening it.
Extract the contents of your .tar.gz archives using the file compression program. Each archive will contain a folder named according to the name of the module.
Open the FTP client, and log on to the server for your domain. Upload the extracted folders to the subdirectory sites/all/modules, which is located in the root of the FTP directory for your domain. Do not simply upload the contents of the folders. You must upload the folders themselves in order for your Drupal installation to recognise the newly installed modules.
Log on to the administrative account for your Drupal installation.
Go to the Modules administration page at Administer > Site Building > Modules, and enable the following modules: Simplenews, Simplenews Action, Mimemail and Mimemail CSS Compressor. Click the “Save Configuration” button. The current page should reload with a notification that the configuration changes have been saved. The Simplenews module will create a content type called "Newsletter Issues," which you will use to create and send your HTML e-mail messages.
Edit the newsletter content type by going to Administer > Content Management > Content Types and clicking the “Edit” link in the "Newsletter Issue" row of the "Content Types" table. Expand the “Work Flow Settings” group, and uncheck the “Promoted to Front Page” checkbox. Click the “Save Content Type” button. The current page will reload, and you should see a message confirming the change.
Go to Administer > User Management > Permissions, and grant the “Create Simplenews Content” permission to the user role you wish to use to create and send HTML e-mail messages: Optionally, you may grant the “Edit Own Simplenews Content” and "Delete Own Simplenews Content” permissions. Click the “Save Permissions” button.
Add e-mail addresses to your subscription list by going to Administer > Content Management > Newsletters > Subscriptions > Mass Subscribe. Enter comma-separated e-mail addresses in the appropriate field, and check the box for the newsletter to which you wish to subscribe the addresses. Click the “Subscribe” button to save your changes. You are now ready to create and send your HTML e-mail message.
Log off the administrator account, and log on as a user with a role to which you have granted the “Create Simplenews Content” permission.
Click the “Creat Content” link in the navigation section, and choose “Newsletter Issue” as your content type. This will be your HTML e-mail. Give the newsletter issue an appropriate title.
Supply the contents of the newsletter issue using appropriate HTML code. Adjust other settings as appropriate, and click the “Save” button to save your changes and send your newly created newsletter issue as an HTML e-mail message to the email addresses in your subscription list. You may optionally click the “Preview” button to preview your e-mail message before clicking the “Save” button.
Tips and warnings
- Remember to enable the Newsletter block in Administer > Site Building > Blocks. This will encourage visitors to subscribe to your newsletter so that you do not have to enter addresses manually.
- The Simplenews module allows you to designate other existing content types as newsletter issues. For example, you might prefer to send show notes of a content type called "Podcast Episode" along with a download link to the appropriate media file. Go to Administer > Site Configuration > Simplenews > General. Check the boxes corresponding to the content types you wish to treat as newsletter issues, and click the “Save Configuration” button. Create your newsletter content using a newly designated content type, and save it using normal procedures.
- Use the Simplenews Template module to specify preliminary formatting for your e-mails, such as headers and footers.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for