Previous Topic

Book Contents

Book Index

Next Topic

SMTP

SMTP settings configure the SMTP mail system.

  • Servername

    The name or an IP Address of the mail server. It is possible to define more than one mail server, with names of the servers separated by semicolons. Valuemation uses the servers sequentially in the order in which they are specified in the field. It tries the first server and if the send email operation is not successful, then the next server is used. If all of the servers in the sequence have been used without success, an error message gets displayed.

  • Sender's E-mail

    Specify the email address to be used as a sender via SMTP.

  • Port (Standard 25)

    Specify server connection port (standard 25).

  • Authentication on Server

    Select this option to enable authentication on the mail server.

  • Username

    Specify user name on the mail server.

  • Password

    Specify password on the mail server.

  • Connection Security

    The check box enables you to select the appropriate method of encrypting the communication between Valuemation and the mail server.

    The following options are available:

    • None - no encryption is used.
    • SSL/TLS - cryptographic protocols which both provide a way to encrypt a communication channel between two computers (e.g. your computer and our server). TLS is the successor to SSL and the terms SSL and TLS are used interchangeably unless you are referring to a specific version of the protocol.
    • STARTTLS - a protocol command that is issued by an email client. It is a way to take an existing insecure connection and upgrade it to a secure connection using SSL/TLS. Note that despite having TLS in the name, STARTTLS doesn't mean that you have to use TLS, you can use SSL.
  • Skip Certificate Verification

    If using TLS is enabled, 'Skip Certificate Verification' can be used to enable/disable verification of the SSL/TLS certificate.

SMTP authentication on a Microsoft Exchange server

It is also possible to authenticate on a Microsoft Exchange server using the SMTP mail system:

  • Configure the authentication items on the SMTP tab (see above).
  • Define system property -Dmail.debug=true in admin.bat or run.bat.
  • There are two new jar files: mail.jar and jcifs.jar; jcifs.jar must be explicitly added to classpath (it is used only on web by default).

SMTP and Office 365

The 'Sender's E-Mail' field in Global Settings represents a default email account for the Valuemation mail functionality. Oftentimes, however, an email sent from Valuemation is sent with a different email address as the sender.

Office 365 mail server by default does not allow sending an email as someone else than the currently logged in user. If this causes problems, it is necessary to set up the Office 365 mail server correspondingly.

On an individual level, it would be possible to change the 'Sender's E-Mail' setting in Valuemation User Settings to match the required sender email. The feasibility of this workaround is limited by the fact that it requires the user to run Valuemation Rich Client.

SMTP Debugging

The following detailed debugging option can be used for SMTP:
-Dmail.debug=true
in admin.bat or run.bat

This option activates debugging of communication with the SMTP server. The log also contains allowed authentication methods.

See Also

Mail

General Settings

Microsoft Outlook

MAPI