How to Change SMTP Mail Server Configuration
SMTP mail server is configured during the Timeline installation. You can change your mail server settings later using TimelinePI.xml configuration file.
To change mail server configuration, perform the following actions:
- Go to the computer where Timeline is installed.
Note. To perform all activities below, you must be a system administrator of the computer. - Stop the timelinepi service using Services snap-in or open Command Prompt as administrator and use:
sc stop timelinepi
To ensure the correct operation of Timeline, you need to stop timelinepi service prior to changing the Timeline configuration file. - Go to the folder where Timeline is installed and open TimelinePI.xml using any text editor.
By default, Timeline is installed into C:\Program Files\ABBYY Timeline - In the TimelinePI.xml configuration file, find the following lines and change their values:
- <env name="MAIL_SERVER_HOST" value=""/>
This line contains the host of the SMTP mail server, enter the address in the value.
e.g.: <env name="MAIL_SERVER_HOST" value="example.smtp.com"/> - <env name="MAIL_SERVER_PORT" value=""/>
This line contains the port of the SMTP mail server, enter the port in the value.
e.g.: <env name="MAIL_SERVER_PORT" value="465"/> - This line contains the user that will be used to authenticate with the SMTP mail server, enter the username in the value. Keep this value empty if your mail server requires no authentication.
<env name="MAIL_SERVER_USERNAME" value=""/>
e.g.: <env name="MAIL_SERVER_USERNAME" value="example_user"/> - <env name="MAIL_SERVER_PASSWORD" value=""/>
This line contains the password of the user that will be used to authenticate with the mail server, enter the username in the value. Keep this value empty if your mail server requires no authentication.
e.g.: <env name="MAIL_SERVER_PASSWORD" value="example_password"/> - <env name="MAIL_SERVER_SECURE" value="FALSE"/>
This line contains the option whether to use TLS from the start of the connection. If you want TLS from the start it should be TRUE otherwise it should be FALSE.
Note. It is recommended Timeline and the Exchange server use the same TLS settings - <env name="MAIL_SERVER_REQUIRE_TLS" value="FALSE"/>
This line contains the option specifies whether the connection should be established on an unencrypted channel, then upgrade to a secure connection with a STARTTLS command. If so, specify TRUE otherwise FALSE. - <env name="MAIL_SERVER_REJECT_UNAUTHORIZED" value="TRUE"/>
This line contains the option to reject unauthorized certificates, for example, self-signed certificates. In that case, it should be TRUE. If you want to use a self-signed certificate specify FALSE. - <env name="EMAIL_SENDER" value="noreply@example.com"/>
This line contains the email sender address used to fill the 'From' header field of e-mails. - Save the TimelinePI.xml file.
- Start the timelinepi service using Services snap-in or run Command Prompt as administrator and use:
sc start timelinepi
05.09.2024 16:23:54