Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Comment | File | Size | Author |
---|---|---|---|
#4 | Mail System.png | 27.36 KB | TechNikh |
Comment | File | Size | Author |
---|---|---|---|
#4 | Mail System.png | 27.36 KB | TechNikh |
Comments
Comment #1
filsterjisah CreditAttribution: filsterjisah commentedSeems like smtp module overrules maillog... mails do get send when smtp enabled and maillog enabled and "sent e-mails" disabled
Comment #2
filsterjisah CreditAttribution: filsterjisah commentedBoth modules are setting variable 'mail_system' to their own MailSystem implementation on enable / disable. The trick is to enable smtp first, afterwards maillog if you want to enable them both.
Beware: when you disable one of both modules, they will not reset to mailllog or smtp MailSystem implmentation, but instead to the Drupal default DefaultMailSystem.
Best usage is to enable only one of both modules.
Comment #3
filsterjisah CreditAttribution: filsterjisah commentedEven better, use http://drupal.org/project/mailsystem and select your mailsysteminterface class :)
Comment #4
TechNikh CreditAttribution: TechNikh commentedsame problem with HTML Mail for Commerce Email
Even though I use mail system module, I can't choose maillog for site wide default because that will render my emails as plain text.
Comment #5
radhakrishnama CreditAttribution: radhakrishnama commentedhi
even i don't have smpt module installed ,Mailog doesn't track ANY email sent.
why??
any solution plz help me
thanks
Comment #6
Nor4a CreditAttribution: Nor4a commentedI'm using SMTP module to send out mails.
After installing the Maillog module - no mails are sent out from the system.
This is because the Maillog module on installation changes the system variable 'mail_system' and removes the Smtp from the mail_log system variable.
Comment #7
areynolds CreditAttribution: areynolds commentedI'm having the same issue with https://drupal.org/project/phpmailer. However, when I set the default mail system value to DrupalPHPMailer and the maillog setting to MaillogMailSystem, I'm able to send mail through DrupalPHPMailer but don't receive any log entries:
Those values show up correctly in the mail_system admin screen; you could probably set them there without setting any $conf variables, but I wanted to nail it down.
Comment #8
Majdi CreditAttribution: Majdi commentedfor me after adding SMTP module, maillog stop log , also after I disable the SMTP module and uncheck "Allow the e-mails to be sent." drupal continue sending emails !
Comment #9
osmantl;dr
Maillog should be enabled after enabling the SMTP module.
I had the same problem.
Maillog was already installed and enabled, when I enabled SMTP module. Emails have been sent via SMTP module, but Maillog stopped logging.
The solution was, as vaguely described in the README.txt file, uninstalling Maillog, and re-installing it, after enabling any module altering the
mail_system
variable.After that, mail_system variable should be:
Also, leave
Allow the e-mails to be sent.
option checked, to have Drupal continue delivering the emails.Comment #10
DamienMcKennaFYI I've worked on a patch to integrate SMTP and Maillog: #2653394: Integration with Maillog
Comment #11
dankung1 CreditAttribution: dankung1 commentedI switch to mail logger which is much better than maillog module.
https://www.drupal.org/project/mail_logger
Comment #12
margyly CreditAttribution: margyly commentedIt seems to be enough to disable and reenable Maillog; you don't have to uninstall it, as far as I can see.
Mail Logger looks nice but I don't see a way to turn off sending email, which I need to do. I'm hoping that eventually the patch in #10 will be finished and merged!
Comment #13
DamienMcKennaThis should be working fine, please reopen if the problem persists.