ATIPXpress Send Emails Using Google Workspace SMTP Relay

Prev Next

Purpose

This Standard Operating Procedure (SOP) provides step-by-step instructions for sending outbound email from ATIPXpress through the Google Workspace SMTP relay service. A Google Workspace administrator creates an SMTP relay rule and allows the IP address of the ATIPXpress server. The sending account then creates a 16-character App Password, which ATIPXpress uses to sign in to the relay.

Prerequisites

  • Google Workspace Super Admin access to admin.google.com, with a verified domain

  • The static public IP address of the ATIPXpress server that sends email

  • TLS support on the ATIPXpress server

  • The administrator has enabled Allow users to turn on 2-Step Verification for the sending account

  • The email address and password of the sending account, and a mobile phone to receive verification codes

  • The sending account is not enrolled in Google's Advanced Protection Program

Creating the SMTP Relay Rule

The relay rule lets ATIPXpress send outbound email through Google's mail servers using your domain. A Super Admin performs these steps.

  • Sign in to the Google Admin Console at admin.google.com

  • In the left navigation, go to Apps, select Google Workspace, and then select Gmail

  • Scroll down and click Routing

  • Hover over SMTP relay service and click Configure, or click Add another rule if a rule already exists

  • In the Add setting dialog, configure the following:

    • Allowed senders: Select Only addresses in my domains, or Any addresses if ATIPXpress sends from addresses outside your domains

    • Authentication: Select Require SMTP Authentication so that ATIPXpress signs in with a user name and App Password. Select Only accept mail from the specified IP addresses and add the static public IP address of the ATIPXpress server

  • Enter a descriptive name for the rule, such as SMTP Relay

  • Click Save. The new rule appears in the SMTP relay service list

NOTE: Changes can take up to 24 hours to take effect, although they usually apply within minutes.

Adding or Changing an Allowed IP Address on an Existing Rule

  • Go to Apps, select Google Workspace, select Gmail, and then click Routing

  • Under SMTP relay service, hover over the existing rule and click Edit

  • In the Edit setting dialog, scroll to Authentication

  • Click ADD, enter a description and the IP address or range, and then click SAVE

Creating an App Password

An App Password is a 16-character code that lets an application sign in when it cannot use standard Google sign-in. ATIPXpress uses it as the SMTP password. Perform these steps while signed in as the account that ATIPXpress sends email from.

Turning On 2-Step Verification

Skip this procedure if 2-Step Verification already shows as On.

  • Open myaccount.google.com and sign in with the Google Workspace account

  • Click Security & sign-in in the left navigation

  • Under How you sign in to Google, click 2-Step Verification

  • Click Turn on 2-Step Verification or Get started, and re-enter your password if prompted

  • Add your phone number, select Text message or Phone call, and click Next

  • Enter the code you receive, click Verify, and then click Turn on

  • Confirm that the Security & sign-in page now shows 2-Step Verification as On

Generating the App Password

  • Open myaccount.google.com/apppasswords, or type App passwords in the search bar of your Google Account

  • Re-enter your password if prompted

  • In App name, enter a name that identifies where the password is used, such as SMTP Relay - ATIPXpress

  • Click Create

  • Copy the 16-character password shown in the yellow box. It is displayed only once

  • Click Done. The entry now appears in your list of App Passwords

NOTE: Never share an App Password by email or chat, and always blur the code in screenshots.

Managing or Revoking App Passwords

To revoke an App Password, return to myaccount.google.com/apppasswords and click the trash icon next to its name. Changing the Google password revokes all App Passwords, so create new ones afterward and update every application that uses them.

How to Set Up ATIPXpress to Send Emails Using Google Workspace

  • In ATIPXpress, navigate to Administration and select the System Administration tab

  • Click Mail Server Configuration

  • Under Mail Server Address, select SMTP as the Authentication Mode

  • In SMTP Mail Server, enter smtp-relay.gmail.com

  • In Port, enter 587

  • Select the Use SMTP SSL check box. The SMTP Authorization, SMTP SSL User Name, and SMTP SSL Password fields appear

  • In SMTP Authorization, select Basic

  • In SMTP SSL User Name, enter the full Google Workspace email address of the sending account

  • In SMTP SSL Password, enter the 16-character App Password you created (spaces are optional)

  • Click Save

The table below summarizes the Mail Server Configuration values for Google Workspace:

Field

Value

Authentication Mode

SMTP

SMTP Mail Server

smtp-relay.gmail.com

Port

587

Use SMTP SSL

Selected

SMTP Authorization

Basic

SMTP SSL User Name

Full Google Workspace email address of the sending account

SMTP SSL Password

16-character App Password

NOTE: No field on the Mail Server Configuration screen sets the From address for outbound email. The sender address is configured in the Global From Email Address field under Correspondence Configuration. If the relay rule allows Only addresses in my domains, the sender address must belong to one of your Google Workspace domains.

NOTE: Changing the Google password of the sending account revokes all of its App Passwords. If this happens, create a new App Password and update the SMTP SSL Password field.

If you encounter any issues, contact IT Support for assistance.