Closed (fixed)
Project:
mailwire
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2011 at 19:32 UTC
Updated:
22 Dec 2011 at 17:00 UTC
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
Comment #1
pluess commentedThere'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.
Comment #2
pluess commentedDescription extended.
Comment #3
rickmanelius commented@pluess
Awesome! That makes total sense now. Thank you very much for taking the time to better explain that.
Comment #4
pillarsdotnet commentedI'd like to incorporate the functionality of mailwire into the next release of mailsystem, thereby combining both modules.
Comment #5
pillarsdotnet commentedI 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.
Comment #7
miro_dietikerNote 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.