Outgoing SMTP email server settings

To configure an outgoing SMTP email server, add these settings to your FsSvcCore Web.config file:


<system.net>
<mailSettings>
<smtp deliveryMethod="network">
<network 
host="smtp server name" 
clientDomain="domain" 
enableSsl="true|false"
port="587" 
defaultCredentials="true|false" 
targetName="service_provider_name" 
userName="yourmail@domain.com" 
password="yourpassword" 
/>
</smtp>
</mailSettings>
</system.net>

A brief description of each setting is described here. For more information, see the Microsoft .NET Framework documentation; that documentation is available on the Microsoft web site.

host
This is the outgoing SMTP mail server name. Its purpose is identical to that of the MAIL.SERVERNAME profile setting. The MAIL.SERVERNAME profile value is only used if the host value is not specified in Web.config.
enableSsl
Specify "false" for normal, non-secure SMTP or "true" for secure SMTP. When set to "true", specify a port number. SSL typically implies that authentication is required. In that case, you must provide the credentials (either defaultCredentials or userName & password).
port
The default port for (non-secure) SMTP is 25. For most secure SMTP applications the correct port is 587.
userName & password
These are usually required when you specify true for enableSsl.

Most SMTP servers require the From address to be from a matching domain. Suppose the server name is “server.infor.com”; the From address should be in the format “username@infor.com”.