SMTP Email Provider#
The SMTP email provider sends email via a SMTP server. To use it, specify emails/smtp
for the email provider name.
Configuration Options#
YAML/JSON name | environment name | required | default value | type | description |
---|---|---|---|---|---|
smtpUrl |
RCTF_SMTP_URL |
yes | (none) | string | URL of the SMTP server. See the nodemailer docs if you want to use connection pooling. |
Configuration Example#
email:
from: no-reply@example.com
provider:
name: 'emails/smtp'
options:
smtpUrl: 'smtp://username:password@example.com'