Send Email with Custom Domain

How to use Gmail's "Send Mail As" with your Custom Domain

How to fix send mail as Gmail not working?

  1. You need to have Gmail's Two-Factor Authentication enabled for this to work. Visit if you do not have it enabled.

  2. Once Two-Factor Authentication is enabled (or if you already had it enabled), then visit

  3. When prompted for "Select the app and device you want to generate the app password for":

    • Select "Mail" under the drop-down for "Select app"
    • Select "Other" under the drop-down for "Select device"
    • When prompted for text input, enter your custom domain's email address you're forwarding from (e.g. "" - this will help you keep track in case you use this service for multiple accounts)
  4. Copy the password to your clipboard that is automatically generated

    Important: If you are using G Suite, visit your admin panel Apps G Suite Settings for Gmail Advanced settings and make sure to check "Allow users to send mail through an external SMTP server...". There will be some delay for this change to be activated, so please wait a few minutes.
  5. Go to Gmail and under Settings Accounts and Import Send mail as, click "Add another email address"

  6. When prompted for "Name", enter the name that you want your email to be seen as "From" (e.g. "Linus Torvalds")

  7. When prompted for "Email address", enter the email address with the custom domain you used above (e.g. "")

  8. Uncheck "Treat as an alias"

    Tip: If you prefer the recipient to reply directly to your Gmail address, then leave this checked. To learn more, follow these instructions by Gmail on this topic.
  9. Click "Next Step" to proceed

  10. When prompted for "SMTP Server", enter and leave the port as 587

  11. When prompted for "Username", enter the portion of your Gmail address without the part (e.g. just "user" if my email is

    Important: If the "Username" portion is autofilled, then you will need to change this to the username portion of your Gmail address instead.
  12. When prompted for "Password", paste from your clipboard the password you generated in step 2 above

  13. Leave the radio button checked to "Secured connection using TLS"

  14. Click "Add Account" to proceed

  15. Open a new tab to Gmail and wait for your verification email to arrive (you will receive a verification code that confirms you are the owner of the email address you are attempting to "Send Mail As")

  16. Once it arrives, copy and paste the verification code at the prompt you received in the previous step

  17. Once you've done that, go back to the email and click the link to "confirm the request". You need to do this step and the previous step for the email to be correctly configured.