Email: Ensuring high deliverability
From Pantheon's Platform Considerations: "Because of the cloud-based nature of Pantheon's infrastructure, we cannot ensure high-deliverability email originating from your Application Containers, as they have no fixed location. While all sites have access to a local Postfix service for testing and development, we recommend using an external SMTP gateway (SendGrid, for example) in production to ensure that your email is delivered".
The best way to set this up is using authenticated SMTP via the campus authenticated.relay.mail.utexas.edu, then using the appropriate Wordpress/Drupal plugin to send the application's mail to this external server.
Step 1: Request a Service EID
You will need to provide:
- A department code
- Service name
- EIDs of two technical contacts
Additional items to consider:
- Do you need access to student/employee/ID Card Data?
- Do you plan to integrate with Mulesoft/Rabbit MQ?
- Please explain how you will use the Service EID.
Step 2: Whitelist Service EID
Send an email along the following lines to firstname.lastname@example.org
Please grant service EID, <eid>, rights to use authenticated.relay.mail.utexas.edu. This is for <Pantheon site> hosted on Pantheon.
Step 3: Configure website to use external SMTP gateway.
Pantheon recommends using the SMTP Authentication Support Module. After enabling the module, enter the following as a new "provider" at /admin/config/system/smtp
|Password||Service EID password|
|Use encrypted||Yes (TLS only, no SSL)|
Pantheon recommends using the WP Mail SMTP plugin. After activating the plugin, set the following values in Settings -> WP Mail SMTP and save.
|SMTP Username||Service EID|
|SMTP Password||Service EID password|