smtpAccount
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 <sales@mycompany.com></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.