Configuring SMTP Email
Miguel Serrano edited this page Apr 1, 2024
·
19 revisions
Overleaf only supports SMTP and AWS SES. If an e-mail server is enabled on your localhost, and it's listening to local connections, using SMTP will also work.
IMPORTANT: starting with Overleaf CE/Server Pro 5.0.1
environment variables have been rebranded from SHARELATEX_*
to OVERLEAF_*
.
If you're using a 4.x
version (or earlier) please make sure the variables are prefix accordingly (e.g. SHARELATEX_EMAIL_FROM_ADDRESS
instead of OVERLEAF_EMAIL_FROM_ADDRESS
)
Email can be configured via environmental variables passed to the docker container.
-
OVERLEAF_EMAIL_FROM_ADDRESS
: REQUIRED - The from address e.g.'support@mycompany.com'
-
OVERLEAF_EMAIL_REPLY_TO
: The reply to address e.g.'noreply@mycompany.com'
-
OVERLEAF_EMAIL_AWS_SES_ACCESS_KEY_ID
: If using AWS SES the access key -
OVERLEAF_EMAIL_AWS_SES_SECRET_KEY
: If using AWS SES the secret key -
OVERLEAF_EMAIL_AWS_SES_REGION
: If not set, the default region is US-EAST-1
-
OVERLEAF_EMAIL_DRIVER
: When this is set toses
, the email system will rely on the configured instance roles to send email.
-
OVERLEAF_EMAIL_SMTP_HOST
: SMTP Host, needs to be accessible from the docker container -
OVERLEAF_EMAIL_SMTP_PORT
: SMTP port to use -
OVERLEAF_EMAIL_SMTP_SECURE
: Boolean if SMTP secure should be used -
OVERLEAF_EMAIL_SMTP_USER
: User to authenticate against the STMP server with -
OVERLEAF_EMAIL_SMTP_PASS
: Password for SMTP User -
OVERLEAF_EMAIL_SMTP_TLS_REJECT_UNAUTH
: Rejected unauthorized tls connections -
OVERLEAF_EMAIL_SMTP_IGNORE_TLS
: turns off STARTTLS support if true -
OVERLEAF_EMAIL_SMTP_NAME
: optional hostname of the client, used for identifying to the server, defaults to hostname of the machine. -
OVERLEAF_EMAIL_SMTP_LOGGER
: when set totrue
prints logging messages toweb.log
.
-
OVERLEAF_CUSTOM_EMAIL_FOOTER
Custom HTML which is appended to all emails. e.g.--env OVERLEAF_CUSTOM_EMAIL_FOOTER="<div>This system is run by department x </div> <div> If you have any questions please look at our faq <a href='https://somwhere.com'>here</a></div>"
- Quickstart Guide (Overleaf Toolkit)
- Hardware Requirements
- Database & Dependencies
- Creating and managing users
- General configuration
- Configuring Email
- SSL & Nginx reverse proxy
- Data and Backups
- Configuring Headers, Footers & Logo
- Password Restrictions
- i18n Languages
- Logging
- Common Config Options
- F.A.Q
- Troubleshooting
- Full Project History Migration