pantheon-systems / documentation

Pantheon Docs
https://docs.pantheon.io
Other
194 stars 658 forks source link

Create articles on SMTP so that email is not sent from mail() #395

Closed nataliejeremy closed 8 years ago

nataliejeremy commented 9 years ago

Story: As a user I want more stuff about SMTP so that email is not sent from mail()

“Class to use for the format() method” as MimeMailSystem and “Class to use for the mail() method” as SmtpMailSystem

There is a problem with the configuration of some Drupal modules that is resulting in PHP throwing an error that results in a crash of the thread and returns a 502 error:

Helpful links: http://www.phparch.com/2014/07/sending-html-emails-with-drupal-7-webform-and-mandrill/ https://www.drupal.org/node/1200142 http://drupal.stackexchange.com/questions/77608/drupal-7-webform-module-is-not-sending-email-properly http://drupal.stackexchange.com/questions/39474/how-can-i-use-the-mimemail-with-stmp-authentication-support-modules-together-on @timani

rachelwhitton commented 9 years ago

@timani:

There is a problem with the configuration of some Drupal modules that is resulting in PHP throwing an error that results in a crash of the thread and returns a 502 error:

Is that error a direct result of using mail() on the platform? Can you grab an example of the 502 error to include?

Also, could we add this to the Email on Pantheon doc, or is the idea to create drupal specific doc troubleshooting these modules/services?

rachelwhitton commented 9 years ago

ping @timani - can you review the above question ^

alexdicianu commented 8 years ago

We don't really want to go into debugging Drupal's mail() function, as we don't want to encourage people to use Pantheon for sending email. It's problematic, we're on a bunch of blacklists, etc. What we want to do is: