Customers
User information
 Loading ...
Show article in Knowledge Base

 Where and how can I change the SMTP settings? Export knowledge base Export     SubscribeSubscribe      Show article info

You change the SMTP settings to define what email server you want to use in the visionplatform_mail.properties file is available in the VisionFlow/WEB-INF/classes/ folder

 

You need to configure at least one mail server for VisionFlow to send (relay) emails through. 

 

However, we recommend that you use a primary and a secondary in case the first one doesn't respond for some reason, according to the example below:

 

fromName=VisionFlow
fromAddress=support@myCompany.com
numberOfSendRetries=2

 

## First SMTP host
1_mailhost=127.0.0.1
1_authenticationRequired=true
1_username=
1_password=
1_debug=false

 

## Second SMTP host
2_mailhost=mail.myCompany.com
2_authenticationRequired=true
2_username=myUsername
2_password=myPassword
2_debug=false

2_encryptionMethod=tls

 

Explanation of properties in visionplatform_mail.properties file

fromName= The name emails will be sent via. This is only for general emails. Emails from workspaces/projects where you have email ticket systems configured will use these settings instead.
fromAddress=  
The name emails will be sent via. This is only for general emails. Emails from workspaces/projects where you have email ticket systems configured will use these settings instead.
numberOfSendRetries= 
How many times the system will re-try to send emails until the system gives up.

 

mailhost= the host name or ip number for the email server that you want to use to send emails through

authenticationRequired; if authentication with username and password is required, otherwise you can leave this blank or skip it.
username: The user account name to send emails with if authentication is required
password: The password for the user account name to send emails with if authentication is required
debug: If you want to debug email sending, will write extensive information into your log files.

port: Default value is 25, unless you specify other value

encryptionMethod : Use either ssl or tls (for starttls)

disable8BitMime= domain names that you do not want to use 8Bit mime for (such as acme.com or mycompany.com)

 

sentEmailEmlAge= The number of hours you want to store a copy of emails after sending them (such as 120 hours). Include this if you want to store a backup of sent emails on the server. We recommend that you store sent files for at least 2-3 days for debug purposes. These files will be stored in the documents folder on your server in a separate folder called SentEmails 

 

maxMailCheckerWorkerThreads= The number of emails used in the email ticket system to fetch emails. Default value is 5, unless you specify anything here.

 

 

Also, please note that your email server(s) needs to allow relaying of emails from the VisionFlow application server(s). This may require special configuration of your email server, please see here for more information...


User comments
 Loading ...