Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting SMTP Credentials

There are several StartOS services that are capable of sending emails, such as BTCPay Server, Ghost, Gitea, Nextcloud, Synapse, and Vaultwarden, using third party email (SMTP) servers. The guides below are for using Gmail or Amazon SES for SMTP, but you may also use another third party provider of your choice.

Contents

Gmail

  1. Access your Google 2-step verification settings: https://myaccount.google.com/signinoptions/two-step-verification.

  2. Enable 2-Step verification if not already.

  3. Under "App Passwords" (bottom), add a new App Password.

  4. Choose a name for the new App Password. You may call it anything, such as "SMTP", then click "Create".

  5. A random 16-character password will be created and shown to you. This is your app password. Save it somewhere secure, such as your Vaultwarden password manager, then click "Done".

  6. Now you can use this SMTP account for any service that has the capability to send an email. The table below shows all the details you may need:

    ParameterValue
    Hostsmtp.gmail.com
    Port587
    EncryptionTLS
    Usernameyour-username@gmail.com
    Passwordyour App Password (form above)

Amazon SES

To use Amazon SES you will need:

  • An Amazon Web Services (AWS) account. If you don't have one, you can register here for free.
  • To set up Amazon Simple Email Service (SES) on AWS, from inside your AWS console, also free for a time within certain limits.
  • Optional: To purchase your own domain name to send emails from, then add the domain records Amazon provides you. This will allow you to request 'Production Access' to send emails to unverified addresses (i.e. to more than just your own email address).

You can then refer to the Amazon SES docs to create a SMTP user.

Proton Mail

Access to Proton Mail's SMTP settings is currently only made available by Proton to their customers with Proton for Business, as well as certain higher tier individual and family plans (Proton Duo, Proton Family – both with "SMTP Submission" as a listed feature), and then only when you point a custom domain to your account.

To set up Proton Mail for SMTP you will need:

  • To purchase and point a domain name from a domain registrar to Proton's servers by following this guide here: Custom Domain
  • To follow the steps in the secion How to set up SMTP in the guide here: SMTP Submission