Download - Drupal Email Features
![Page 1: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/1.jpg)
Email Marketing With Drupal
Robert Castelo, Code Positive Ltd.
![Page 2: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/2.jpg)
How Can A Site Use Email?
• Registration / account messages
• Newsletters
• Notification of new posts
• Notification of new comments
• Post content via email
![Page 3: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/3.jpg)
System Messages
• Welcome message (registration)
• Welcome message (added by admin)
• Password reminder
![Page 4: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/4.jpg)
Welcome MessageJane Smith,
Thank you for registering at Example.com. You may now log in to http://www.example.com/user using the following username and password:
username: Jane Smithpassword: re*llysecure2
You may also log in by clicking on this link or copying and pasting it in your browser:
http://www.example.com/user/reset/401/1222256899/1764a2611e26858b69b46dcef0981f87
This is a one-time login, so it can be used only once.
After logging in, you will be redirected to http://www.example.com/user/401/edit so you can change your password.
-- Example.com team
![Page 5: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/5.jpg)
Welcome Message!username,
Thank you for registering at !site. You may now log in to !login_uri using the following username and password:
username: !usernamepassword: !password
You may also log in by clicking on this link or copying and pasting it in your browser:
!login_url
This is a one-time login, so it can be used only once.
After logging in, you will be redirected to !edit_uri so you can change your password.
-- !site team
![Page 6: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/6.jpg)
Welcome email1
Password recovery email
2
Administration > User management > Settings
![Page 7: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/7.jpg)
System Messages Override
Override any email with code in your module:
Within the function sending the email use:drupal_mail();This sends your data to the mail function and triggers email to be sent.See http://api.drupal.org/api/function/drupal_mail/6
Also use:hook_mail($key, &$message, $params)e.g. function example_mail($key, &$message, $params) { ..... This enables you to remix the data before send out. See http://api.drupal.org/api/function/hook_mail/6
![Page 8: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/8.jpg)
Email Newsletters
3rd Party Service / Software
or
Sent by Drupal
![Page 9: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/9.jpg)
3rd Party Services/Software
• Inxmail http://drupal.org/project/inxmailprofessional http://www.inxmail.com
• MailChimp http://drupal.org/project/mailchimp http://mailchimp.com
• PHPList http://drupal.org/project/phplist http://www.phplist.com
![Page 10: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/10.jpg)
Simple News
• Manages subscriptions to email newsletters
• Sends email newsletters
• Plain Text / HTML
• Templates
• Scheduling
• Analytics and Statistics
http://drupal.org/project/simplenews
![Page 11: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/11.jpg)
Notifications + Messaging
• Subscriptions/Notification framework
• Integrates with other Drupal features such as Organic Groups
• Can also send SMS or IM
• Somewhat complex to set up
http://drupal.org/project/notificationshttp://drupal.org/project/messaging
![Page 12: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/12.jpg)
eNewsletter
Main Components
• Publication
• Schedule
• Subscribed
• Templates
http://drupal.org/project/enewsletter
![Page 13: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/13.jpg)
eNewsletter
• Multiple newsletters
• Plain text / HTML
• Multiple schedules (per newsletter)
• Automatically include site content based on taxonomy
• Personalisation
![Page 14: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/14.jpg)
eNewsletter• Templates can use Drupal input formats, including PHP
• Email link authentication
• Forwarding HTML email feature
• Integration with User Import
Coming soon for Drupal 6!
http://drupal.org/project/enewsletter
![Page 15: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/15.jpg)
New Posts Notification Modules
• Subscriptions Subscribe to nodes or taxonomies, and comments
http://drupal.org/project/subscriptions
![Page 16: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/16.jpg)
Notification of New
Comments
• Comment Notify Sends notification emails about new
comments to users who have commented
on the same node
http://drupal.org/project/comment_notify
![Page 17: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/17.jpg)
Forward To Friend Modules• Send Adds “tell a friend” functionality to any node
http://drupal.org/node/37480
• Add To Any Add posts to social networks and forward post to
other people via the user’s own email client
http://drupal.org/project/addtoany
![Page 18: Drupal Email Features](https://reader036.vdocuments.us/reader036/viewer/2022081907/54694925af79593b558b4b68/html5/thumbnails/18.jpg)
Post Content Via Email
• Listhandler Monitor a mailbox for incoming email and post
that to a specified forum. Any posts to the
forum will conversely be posted to the mailing list.
http://drupal.org/project/listhandler
• Mail to OG Post content from email received into Organic
Groups
http://drupal.org/project/mail2og