Mail Server

Complete

Mail Server is used to configure email server settings to enable OpenVPMS to send emails.

The fields are as follows:

Name The server name
Description The server description
Active Uncheck this to prevent emails being sent
Host The server host name
Port The server port
Timeout

The timeout, in seconds for sending and receiving data from the mail server. A value of 0 indicates no timeout.
This can be used to prevent email sends from waiting indefinitely if there are mail server or network problems.
Note that this sets the upper limit for interaction with the mail server, not the length of time it takes to send an email.
If a timeout occurs, an email may still be be partially sent.

Security Settings

Connection Security  Set to None, SSL/TLS, or STARTTLS as required by your email provider. The standard setup is:   
 
Port Security
25 None
465 SSL/TLS
587 STARTTLS
Authentication Method  One of:
Username

The server user name. Editable when Username & Password is selected as the Authentication Method. When OAuth2 is selected, this displays the authenticated user.

Password The server password. Only applicable when Username & Password is selected as the Authentication Method.

OAuth2

OpenVPMS supports authentication using OAuth2 for Gmail and Microsoft Outlook.
Consult the relevant How To documents on how to configure these: