Hi,

How exactly would this superceded and/or work with modules like http://drupal.org/project/mailsystem? Looking forward to better Drupal email goodness :)

Comments

pluess’s picture

There's a fundamental problem with the mail_system variable: You can have only one global mailsystem in Drupal 7 at any given time. There's no possibility to use modules like maillog, smtp, mimemail or phpmailer at the same time using the mail_system variable because there can be only one default mail system.

The give a real world example. On our dev systems we like to have all mails go through mimemail, then be logged by mailloger and finally be sent with smtp. Currently this is impossible.

The http://drupal.org/project/mailsystem only helps with handling the mail_system variable. Unfortunately this does not help if you want to have more than one email formatting and/or sending module at the same time. IMHO the mentioned email formatting and/or sending modules (and probably some more) should not touch the mail_system variable at all. They are not mail systems, they are mail formatters and sending modules.

pluess’s picture

Title: Further description? » comparision mailwire vs mailsystem module
Status: Active » Closed (fixed)

Description extended.

rickmanelius’s picture

@pluess
Awesome! That makes total sense now. Thank you very much for taking the time to better explain that.

pillarsdotnet’s picture

Version: » 7.x-1.x-dev
Assigned: Unassigned » pillarsdotnet
Status: Closed (fixed) » Active

I'd like to incorporate the functionality of mailwire into the next release of mailsystem, thereby combining both modules.

pillarsdotnet’s picture

Assigned: pillarsdotnet » Unassigned
Category: task » support
Status: Active » Fixed

I finally got around to reviewing the Mail Wire module and have decided that, while I may yet borrow the general concept, I can't use any of the actual code in Mail System.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

miro_dietiker’s picture

Status: Closed (fixed) » Fixed

Note that these two modules are in general fundamentally different.

mailwire is a plain API that possibly needs some improvement.

mailsystem is (at least began as) a plain user interface module.

After some discussions i would vote for clean separation and nor encourage mailsystem no copy the mailwire concept nor inverse.
This kind of separation is popular in the drupal ecosystem.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.