Configuring Virtual SMTP server to allow WebCenter or Automation Engine to use customers' office 365 Email services.
Symptoms
The Email test works but the Email with attachments or WebCenter automated Emails such as Project links fail to be received.
Solution
Create a Virtual SMTP server on the Automation Engine or Appserver.
Configure Esko application Email configure tool to see the local server's Virtual SMTP: port 25. Set up the Virtual server to authenticate with the office365: port 587 using TLS .
Preparation:
Create a dedicated Office365 Email account user and password with forward privilege to be created for use with the Esko system(s). For e.g: CustomerNameDoNotReply@CustomerDomain.com which may take time.
Procedure
In order to configure the IIS SMTP Email server to forward Emails via an office365 account, please follow the instructions given below:
Open the Server Manager.
Go to Features and select the SMTP Server feature to allow you to set up an Email server.
Add the required role services.
Complete the installation.
Set it to Automatic startup type and if not started, start the Simple Mail Transfer Protocol service.
Go to IIS 6.0 Manager > SMTP Virtual Server > Properties.
In the General tab, select the Enable logging checkbox.
Click Properties... and add the options as indicated below:
In the Access tab > Connection Control section, click the Connection... button.
Add the IP of Automation Engine Server and add 127.0.0.1.
Also add the IP address of the Automation Engine Server and 127.0.0.1 to the Relay Restrictions in the Access tab.
Then go to the Delivery tab and click Outbound Security....
Choose Basic Authentication and enter your office365 Email Address and password. Select the TLS encryption checkbox.
Then go to Outbound connections and set the TCP port to 587.
In the Delivery tab > Advanced delivery, enter smtp.office365.com as in the example below.
In the Messages tab, increase limits to allow for bigger Emails. E.g: size: 20480, limit: 1024000.
Go toIIS 6.0 Manager > SMTP Virtual Server > stop & then start to implement all the changes that have been made.
Now, the Virtual SMTP Email server is configured, configure Esko applications to connect to it. See below In Automation Engine and/or WebCenter Email, using IP or ServerName port 25.
Note
If you do not have a suitable Email Service, Gmail will also work when a Virtual SMTP set up is used as go between. See the following KB article for more information:
current security on Gmail can block email . log in to the Gmail account , you will have to allow low security apps & accept the login form this app explicitly in Gmail settings .
1 Comment
Healy, Thomas
current security on Gmail can block email . log in to the Gmail account , you will have to allow low security apps & accept the login form this app explicitly in Gmail settings .
unable to add the screen shots from other article. KB170995246: Automation Engine - How to Configure a Gmail Account