In order to send emails from your Hudu, you will need to provide an SMTP server.
If you are looking for a free (for the number of emails Hudu has to send out), easy-to-set-up one, we recommend SMTP2GO.
You can test the SMTP connection by going to the Hudu admin >> Self-Hosting Center >> SMTP Test when logged in to your instance.
Example
Provided below are some example credentials for different providers.
Amazon SES
SMTP_DOMAIN=mydomain.com
SMTP_ADDRESS=email-smtp.region-1.amazonaws.com
SMTP_PORT=587
SMTP_STARTTLS_AUTO=true
SMTP_USERNAME=IAMMailerKey
SMTP_PASSWORD=IAMmailerSecret
SMTP_AUTHENTICATION=login
SMTP_OPENSSL_VERIFY_MODE=
SMTP_FROM_ADDRESS=
SMTP2GO
SMTP_DOMAIN=example.com
SMTP_ADDRESS=mail.smtp2go.com
SMTP_PORT=2525
SMTP_STARTTLS_AUTO=true
SMTP_USERNAME=example.com
SMTP_PASSWORD=testpass
SMTP_AUTHENTICATION=login
SMTP_OPENSSL_VERIFY_MODE=none
Office 365
SMTP_DOMAIN=mydomain.com
SMTP_ADDRESS=smtp.office365.com
SMTP_PORT=587
SMTP_STARTTLS_AUTO=true
SMTP_USERNAME=username@yourdomain.com
SMTP_PASSWORD=password
SMTP_AUTHENTICATION=login
SMTP_OPENSSL_VERIFY_MODE=none
SMTP_FROM_ADDRESS=username@yourdomain.com
Gmail
Be aware that Gmail has strict sending limits. For growing organizations, please look into using a transactional email service like Amazon SES or Mailgun.
SMTP_DOMAIN=smtp.gmail.com
SMTP_ADDRESS=smtp.gmail.com
SMTP_PORT=587
SMTP_STARTTLS_AUTO=true
SMTP_USERNAME=username@gmail.com
SMTP_PASSWORD=password
SMTP_AUTHENTICATION=login
SMTP_OPENSSL_VERIFY_MODE=none
SMTP_FROM_ADDRESS=username@gmail.com
- With Gmail, try turning on 2-step validation and using an application password.
- Alternatively, enable less secure apps to access the account.