Skip to content
This repository was archived by the owner on Oct 24, 2021. It is now read-only.

Commit ccfb58e

Browse files
authored
Clarify MAIL_URL.
1 parent f89a102 commit ccfb58e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/environment-variables.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ Set this to however many number of proxies you have running before your Meteor a
2727
## MAIL_URL
2828
(_development, production_)
2929

30-
If you're using an external mail service like [Postmark](https://www.postmarkapp.com), [Mandrill](https://www.mandrillapp.com), [MailGun](https://www.mailgun.com) or [SendGrid](https://www.sendgrid.net), you can provide a SMTP URL for your Meteor app to use to send e-mail. For example: `MAIL_URL="smtps://user:pass@yourservice.com:465"`. If the e-mail server is **not** using TLS/SSL or uses connection upgrade (e.g. on port `587`) then `smtp://` can be used in place of `smtps://` (the `s` is for "secure"). For more information see the [Nodemailer docs](https://nodemailer.com/smtp/)
30+
Use this variable to set the SMTP server for sending e-mails. [Postmark](https://www.postmarkapp.com), [Mandrill](https://www.mandrillapp.com), [MailGun](https://www.mailgun.com) and [SendGrid](https://www.sendgrid.net) (among others) are companies who can provide this service. The `MAIL_URL` contains all of the information for connecting to the SMTP server and, like a URL, should look like `smtp://user:pass@yourservice.com:587` or `smtps://user:pass@yourservice.com:465`.
31+
32+
The `smtp://` form is for mail servers which support encryption via `STARTTLS` or those that do not use encryption at all and is most common for servers on port 587 and _sometimes_ port 25. On the other hand, the `smtps://` form (the `s` stands for "secure") should be used if the server only supports TLS/SSL (and does not support connection upgrade with `STARTTLS`) and is most common for servers on port 465.
3133

3234
## METEOR_SETTINGS
3335
(_production_)

0 commit comments

Comments
 (0)