Spectivis Cloud
Sending mail
Cloud does not send mail for your app, so send it through a mail provider over port 465 or 587.
Cloud does not send mail for your app. Send it through a mail provider.
Port 25 is blocked
Section titled “Port 25 is blocked”Outbound connections on port 25 are blocked for every app, always. Port 25 is how spam is sent directly from servers.
Ports 465 and 587 are open. A mail provider uses them, with a username and a password or key.
Use a mail provider
Section titled “Use a mail provider”Pick a provider that sends mail for you, such as Postmark, Mailgun, Amazon SES, Resend or the mail service you already use. Then:
- Add your domain at the provider, and add the DNS records it asks for. This is what makes your mail arrive in the inbox.
- Save the provider’s connection details as variables in your environment.
- Deploy.
Laravel
Section titled “Laravel”Set the MAIL_* variables. For SMTP:
| Variable | Example |
|---|---|
MAIL_MAILER |
smtp |
MAIL_HOST |
The provider’s SMTP host |
MAIL_PORT |
587 |
MAIL_USERNAME |
From the provider |
MAIL_PASSWORD |
From the provider. Save it as a secret. |
MAIL_FROM_ADDRESS |
An address on your domain |
Providers with an API often have a Laravel mail driver too, which sends over HTTPS and needs no SMTP port at all.
Sending in bulk
Section titled “Sending in bulk”Spam, and bulk or unsolicited mail, is not allowed. We can block ports 465 and 587 for an organization that sends it.
Mail from Cloud itself
Section titled “Mail from Cloud itself”Cloud sends its own notices, such as credit and deploy emails, from noreply@spectivis.com. That is separate from your app’s mail.