drupal email features
Post on 16-Nov-2014
1.962 Views
Preview:
DESCRIPTION
TRANSCRIPT
Email Marketing With Drupal
Robert Castelo, Code Positive Ltd.
How Can A Site Use Email?
• Registration / account messages
• Newsletters
• Notification of new posts
• Notification of new comments
• Post content via email
System Messages
• Welcome message (registration)
• Welcome message (added by admin)
• Password reminder
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
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
Welcome email1
Password recovery email
2
Administration > User management > Settings
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
Email Newsletters
3rd Party Service / Software
or
Sent by Drupal
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
Simple News
• Manages subscriptions to email newsletters
• Sends email newsletters
• Plain Text / HTML
• Templates
• Scheduling
• Analytics and Statistics
http://drupal.org/project/simplenews
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
eNewsletter
Main Components
• Publication
• Schedule
• Subscribed
• Templates
http://drupal.org/project/enewsletter
eNewsletter
• Multiple newsletters
• Plain text / HTML
• Multiple schedules (per newsletter)
• Automatically include site content based on taxonomy
• Personalisation
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
New Posts Notification Modules
• Subscriptions Subscribe to nodes or taxonomies, and comments
http://drupal.org/project/subscriptions
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
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
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
top related