Portal’s mailing list – sending notifications FROM Drupal

Instead OF subscribing TO the portal RSS feeds , SOME people prefer TO GET updates FROM this modeling portal directly TO their email. That’s why I created a news mailing list (subscribe to the list if you also prefer to get email notifications of the new blog posts and other updates from the portal)

Until now, I was writing and sending a summary of the new information posted in the portal every two weeks but I realized this is not a sustainable solution (it´s hard to remember and find the time to write that email and basically you are repeating information you already wrote before).

Therefore I decided to configure Drupal to send automatic notifications to the mailing list every time I write a new blog post (to learn more about how I´ve created this site with Drupal check the Drupal pages of the site)

This way, all subscribers get an immediate update on the portal changes. There are probably more sophisticated ways to do this but a quick and easy fix is the following: use the Actions module to configure an email notification action that will be triggered (Trigger module) after the event Save a new post.

Sending an email is one of the predefined actions types in the Action module. You can create an email template that will be instantiated depending on the parameters of the event. For instance, see the action for my news list email notification (the %title and %node_url variables refer to the title and url of the new post; there are other variables available)

After this, it is just a matter of using the Triggers module to tell Drupal to execute the previous action every time the “save new blog post” event is executed

If you enjoyed this post you can subscribe to this Software Modeling blog and/or follow me on twitter or through the portal’s mailing list . AND if you really liked it help me pass it ON TO others by bookmarking AND sharing the post USING the links below:

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress
More in drupal, site_development
First dollar with the Amazon Affiliate program
Retrieving portal content USING taxonomy terms – fixed
Reasons for failure with Google Adsense in this modeling portal
Close