Gmail Mail Server Hosting
Introduction
In order to configure your SEMS outgoing email using a Gmail address, you need to enable 2-step Verification on your Google account, and use an App password instead of your Google account’s normal password.
An App password is a 16-digit code that gives an external App (in this instance, the SEMS Application) or device permission to access your Google Account.
We recommend turning 2-step Verification ON due to the fact that Google is constantly restricting access to non-Google products.
How to set up SMTP with 2-Step Verification ON
Follow the steps below to learn how to send emails through your Gmail SMTP server:
- Open your Gmail account and click on the gear icon to access its settings.
-
Then click on See all settings.
-
Click on the “Forwarding and POP/IMAP” option.
-
Look for the section called IMAP access and ensure Disable IMAP is checked.
-
Now click on your account’s icon and select Manage your Google Account.
-
Open the Security section and select App passwords.
If “App passwords” does not appear in the How to Sign in to Google section, use the search function to search for App passwords.
Click on the App passwords / Security option.
- On the App passwords screen, type a name and click Create.
The name can be SEMS App. This way you know that the password is related to your SEMS Application.
- It will give you a 16-digit code. Copy and save the password.
Once you click on Done, the password can no longer be retrieved.
Ensure you are copying and saving it somewhere safe before clicking on Done.
SEMS Outgoing Email Settings
Now that you have the password, you can launch your SEMS Application and navigate to the Email Settings screen.
Refer to the document titled Configure Outgoing Email Settings.
- Insert your Outgoing Email details using the following settings:
• Email: your Gmail email address
• Mail Host: smtp.gmail.com
• Mail Port: 587
• Connection Type: Select SSLAuto from the drop-down Connection Protocol options.
• Paste the App password copied earlier into the Password field.
- Click the Save button on the Action Bar.
- The Test Mail button is now accessible.
Test Outgoing Email
-
To test that the outgoing email settings have been correctly captured, click the Test Mail icon on the Action Bar.
-
The program will display the Email window.
- Click the drop-down arrow in the Email From field. Then select the Gmail address.
-
Type in the email address you would like to send to in the To field.
-
You can add additional email addresses as required in either the To or Copy (CC) fields.
-
The program will automatically populate the Subject line with "Test Email". Alter this if needed.
-
You can add any text for the email you are sending in the Comment field.
-
And you can add any additional attachments to the email by clicking the button at the top of the form.
-
When you have completed your email, click the button at the top of the form.
The Information dialog will display "email was sent successfully!".
-
Click [ Ok ] to continue.
-
To close the Email screen, click the icon button at the top-right of the screen.
The system will close this screen and return you to the Email Settings screen.
From now on, all emails sent from this Gmail address in the SEMS application will be sent through your Gmail SMTP server.