Simple Mail

Categories

Component ID

2113389

Component name

Simple Mail

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

8313

Component created

Component changed

Component body

A module to simplify sending emails with Drupal.

There are many great modules for complex email handling and sending scenarios, or email templating, and Drupal core handles emails pretty well by itself. However, for many sites, a radically simplified email sending system is helpful.

With Simple Mail, sending an email is as simple as:

  simple_mail_send($from, $to, $subject, $body);

Want to queue the email, so you can send thousands of emails in the background without crashing your site?

  simple_mail_queue($from, $to, $subject, $body);

This module aims to make email delivery easy/simple for simple use cases. As such, it is not going to be adding more advanced features that you could find in a module like Mime Mail or HTML Mail.

Queue Handling

If you need to inspect the Simple Mail queue, use the Queue UI module. There's even a patch that will let you manually process the queue from within the UI—hopefully it gets accepted soon!

Pledges

#D8CX: I pledge that Simple Mail will have a full Drupal 8 release on the day that Drupal 8 is released. Fulfilled!

Module created by Jeff Geerling of Midwestern Mac, LLC.