Hi,
We’re migrating sites into platform.sh and we currently use Sparkpost to send our emails. We have DKIM validation etc. configured there so want to keep sending via Sparkpost when we move to Platform.
I’ve read through:
- https://docs.platform.sh/development/email.html
- Other topics on this forum (I’m a new user, so can’t link to them!)
But there doesn’t seem to be anything obvious on how to change the outbound email server that the default mail() PHP function would use, or similar.
Do I need to configure my application to connect to the Sparkpost SMTP server directly, or is there a way to set an environment variable or similar in Platform that will send the email from our applications via Sparkpost instead of the Sendgrid default configuration?