Closed (outdated)
Project:
SMTP Authentication Support
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Mar 2016 at 02:04 UTC
Updated:
9 Oct 2025 at 23:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
@James commentedComment #3
@James commentedAnother patch for 7.x-1.x
Comment #4
damienmckennaDon't forget to unassign the issue after you upload a patch.
Comment #5
damienmckennaSo basically you updated phpmailer to 5.2.14? Does the patch include any additional changes to that file?
Comment #6
@James commentedThank you Damien.
No, the
verify_peer_nameoption is set to be FALSE in the patch and What I did is to lowercase those methods of smtp called in smtp.phpmailer.inc module, since those method names start with lowercase letter now.Comment #7
btafoya commentedIs this going to be included in the 8 development version as well?
Comment #8
damienmckenna@btafoya: Someone would have to port the patch to the D8 branch first.
Comment #9
Anonymous (not verified) commentedThanks @Mover for the patch! Helped us quite a lot.
We were running into the same issue, but setting
verify_peer_name = falsewasn't enough for us - due to using a self-signed SSL cert we also needed to setallow_self_signed = false. PHP 5.6 did changeverify_peerfromfalsetotrue[1] (which triggered the validations withverify_peer_nameandallow_self_signed).Therefore I think it would be better to either resort to the previous behaviour (and set
verify_peer = false) or - given the security implications of this - make it an configurable option?[1] http://php.net/manual/en/context.ssl.php#refsect1-context.ssl-changelog
Comment #10
mpv commentedI've updated the patch for the latest dev. I have also removed some the changes in #3. The previous patch replaced the logging with
echoand removed some exceptions (those changes are reverted in this patch). It's working for me with the minimal testing I've done but someone should review and test more thoroughly.Comment #11
chris matthews commentedThe year old patch to smtp.phpmailer.inc and smtp.transport.inc in #10 does not apply to the latest 7.x-1.x-dev snapshot and needs to be rerolled again.
Comment #12
bluegeek9 commentedUnfortunatly, Drupal 7 is End of Life and no longer supported. We strondly encourage you to upgrade to a supported version of Drupal.