mailConnection

Top  Previous  Next

mailConnection configuration element is used to configure a mail connection. This element must be configured in a global configuration file.

  <mailConnection 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>
  </mailConnection>

Nested Elements

host (Accepts MScript)

The IP Address or the name of the mail server

port (Accepts MScript)

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

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 mail server requires authentication the value must be true.