smtpAccount

Top  Previous  Next

smtpAccount configuration element is used to configure an SMTP account. This element must be configured in a global configuration file.

  <smtpAccount name="SMTPAccount1">
    <host>smtp.mycompany.com</host>
    <port>25</port>
    <user>sales@mycompany.com</user>
    <password>mypass</password>
    <from>SuperStore Sales Team &lt;sales@mycompany.com&gt;</from>
    <auth>true</auth>
  </smtpAccount>

Nested Elements

host (Accepts MScript)

The IP Address or the name of the SMTP server

port (Accepts MScript)

The port of the SMTP server. This value is usually 25.

user (Accepts MScript)

The name of the mail account. 

password (Accepts MScript)

The password of the mail account.

from (Accepts MScript)

The description of the mail sender

auth (Accepts MScript)

If the SMTP server requires authentication the value must be true.