smtpAccount

Top  Previous 

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

Parameter

MScript

Description

host

ü

The IP Address or the name of the SMTP server

port

ü

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

user

ü

The name of the mail account. 

password

ü

The password of the mail account.

from

ü

The description of the mail sender

auth

ü

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