To set up SMTP connection with Google Workspace, go to Settings > Mail and set options as shown in the example below. You will need to replace example data with your own username and app password.

Example configuration:
Connection type: SMTP
SMTP Host: smtp-relay.gmail.com
SMTP Port: 587
SMTP Username: [email protected]
SMTP Password: ••••• (Enter your app password, not your regular Gmail password. See below how to create it)
SMTP Security: TSL

After configuring and saving all the settings according to the example above, you can check if the connection to your email account has been successfully established by sending a test email (Settings -> Mail -> Send a test email). If you see any error messages after sending a test message, please follow the instructions in the FAQs section below.

 

How to create an App Password for Gmail?

  1. Go to your Google Account: https://myaccount.google.com.
  2. Select Security.
  3. Under "Signing in to Google," select 2-Step Verification.
  4. At the bottom of the page, select App passwords.
  5. Enter a name that helps you remember where you'll use the app password (e.g., "EasyTaxiOffice").
  6. Select Generate.
  7. 16-character code will be displayed. This is your app password.
  8. Update the app password in the EasyTaxiOffice admin panel:
    • Open the EasyTaxiOffice admin panel.
    • Go to Settings > Mail.
    • Enter the app password in the SMTP Password field.
  9. Save settings.

Please note that you may need to reload the EasyTaxiOffice app for the changes to take effect.

Once you have created and updated the app password, you should be able to use the EasyTaxiOffice app to send emails without having to enter your regular Gmail password.

 

FAQs
Q: “Expected response code 250 but got code “535”, with message “535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials t202sm10704752wmt.20 – gsmtp”

A: Make sure you have created and entered the correct app password as per the instructions above.

 

Q: “The message could not been sent, please check your configuration.
Expected response code 250 but got code “550”, with message “550-5.7.0 Mail relay denied [x.x.x.x]. Invalid credentials for relay for
550-5.7.0 one of the domains in: (as obtained from HELO and MAIL FROM).
550-5.7.0 Email is being sent from a domain or IP address which isn’t registered
550-5.7.0 in your Google Workspace account. Please login to your Google Workspace account and
550-5.7.0 verify that your sending device IP address has been registered within
550-5.7.0 the Google Workspace SMTP Relay Settings. For more information, please visit
550 5.7.0 https://support.google.com/a/answer/6140680#maildenied z10sm19689wrl.81 – gsmtp”

A: Go to your Google Workspace admin panel and navigate to Apps > Google Workspace > Settings for Gmail > Advanced settings > SMTP relay service, click the “Add” button and enter the details as shown on the example below and save settings.

SMTP relay service: ETO App
Allowed senders: Only registered Apps users in my domains
Authentication: Only accept mail from the specified IP addresses (NO),  Require SMTP Authentication (YES)
Encryption: Require TLS encryption (NO)

See also