We are using notifications to drive users to our app and are setting up gmail for our domain to handle all email traffic. However, PHPMailer cannot connect to GMail's SMTP server, the PHPMailer module does have support for this (see http://drupal.org/project/phpmailer) Is it possible to configure Messaging's use of PHPMailer to talk to GMail's SMTP for email sending?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | messaging_phpmailer-6.x-2.x-dev-smtp-settings-549382-7.patch | 2.18 KB | foxtrotcharlie |
| #6 | messaging_phpmailer-6.x-2.2-smtp-settings-549382-5.patch | 2.17 KB | foxtrotcharlie |
Comments
Comment #1
tstackhouse commentedI've managed to make a tweak to get this working, adding the following at line 148 in messaging_phpmailer/messaging_phpmailer.module makes gmail work:
Comment #2
jose reyero commentedComment #3
jose reyero commentedIt needs to be more generic, there are many mail servers out there (secure, port settings)
Comment #4
steveoliver commentedThe solution in response #1 worked for me. Thanks.
Comment #5
gausarts commentedSubscribing. Thanks
Comment #6
foxtrotcharlie commentedI also needed this so created a patch for both the current 6.x-2.x-dev and 6.x-2.2 version.
This patch is pretty much a backport of the patch by joshk located in this comment: http://drupal.org/node/813550#comment-3047918
This patch adds configurable SMTP settings:
SSL: None/TLS/SSL
SMTP Port
and enables the module to use these settings, if set.
Attached is the 6.x-2.2 patch.
Comment #7
foxtrotcharlie commentedAnd here is the 6.x-2.x-dev patch.
Comment #8
jose reyero commentedCommitted, thanks