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.
If I set PHPMailer as mail engine it will not be used for sending mails. After reload the settingspage the entry jumps back to Mimemail.
Comment | File | Size | Author |
---|---|---|---|
#1 | phpmailer_1072418_01.patch | 848 bytes | sgabe |
Comments
Comment #1
sgabe CreditAttribution: sgabe commentedThere is a small change in hook_mailengine() that needs to be implemented by PHPMailer. See the attached patch. Moving this to PHPMailer.
Comment #2
SharonD214@aol.com CreditAttribution: SharonD214@aol.com commentedCan't send email with PHPMAIL. I'm getting the following message.
Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in mimemail_mailengine() (line 159 of C:\wamp\www\drupal\sites\all\modules\mimemail\mimemail.module).
I've used the same SMTP setting on SMTP Auth and mail is sent fine. Any ideas?
Sharon
Comment #3
sunPostponing this on #811774: Port to D7
@sgabe: Which versions are affected by this change in hook_mailengine()? Only D7?
Comment #4
oadaeh CreditAttribution: oadaeh as a volunteer commentedThe change was implemented as part of this commit: http://cgit.drupalcode.org/phpmailer/commit/?id=47f86ff (for #811774: Port to D7).