Configure your project's default email settings
- Last UpdatedOct 29, 2026
- 2 minute read
Some features, such as alarms and certain functions, are able to send email to designated recipients. To use these features, you must configure your project's email settings.
The email settings can be configured at any point during runtime by calling the CnfEmail function. However, you can also configure default settings that are automatically used when the project is first run and then restored as needed during runtime, overwriting any changes made by calling the CnfEmail function.
-
On the Project tab of the ribbon, click Email/FTP.
The E-mail and FTP configuration dialog is displayed.
-
If necessary, click the E-Mail Settings tab.

-
In the E-mail (From) box, type your email address.
-
In the Server and Port boxes, type the server address and port number for your outgoing mail server.
The default Port for SMTP is 587, but this may be different depending on your server and network configuration. Please consult your email provider.
-
If your outgoing mail server requires authentication, select My server requires authentication Then type your credentials in the User Name and Password boxes.
Most outgoing mail servers require authentication, to prevent spamming and other problems from unknown users.
-
If you have selected My server requires authentication and that authentication must also be encrypted, select an option from the Connection Encryption drop down list.

The options are:
-
None - The connection will not be encrypted. The default port is 587.
-
TLS - The connection will be encrypted automatically. The default port is 465.
-
STARTTLS - The connection will start as unencrypted SMTP and will upgrade to encrypted if the SMTP server supports this. The default port is 587.
Note: Encryption via SSL is not supported in projects running on Windows Embedded target systems.
-
-
If your outgoing mail server supports login POP-before-SMTP authentication method, select Enable POP-before-SMTP. Then click the POP3 Settings button and fill in the POP3 Settings dialog.

-
In the Status box, type the name of a tag (Integer type) that will receive status codes when the project sends email.
-
In the Reload box, type a tag/expression. When the value of this tag/expression changes, the project will reload these default email settings.
-
To test your email configuration, click the Test ... button.
-
Click OK to save your configuration and close the dialog.