Description: Optional. Specify a host other than the project node. Host should specify the host name, IP address, or domain name of the SMTP mail server to use for sending email. The name of the corporate network's SMTP server is most common.
Syntax:
tcl: MAIL host=address
JScript: MAIL("host=address");
VB Script: MAIL "host=address"
Argument: "Host=", Host name, IP address, full qualified domain name
See Also: MAIL
Examples: MAIL host=mail.Advantech.com
MAIL {host=67.94.27.200}
MAIL "host=mailserver.yourcompany.com"
Specifies an email Server other than the Project Node.
If no HOST is specified, the Email is sent the Outgoing SMTP Email Server specified in SCADA Node properties, even if from a script on a Web Client.
By default, the Project Node is the SMTP Server for all SCADA Nodes. Any Windows 2000 or XP Professional PC that has SMTP installed (see Internet Services Manager) can be specified. Of course, an SMTP service needs to be running on the Project Node to work.
The Project Node uses "Relaying" to send the email to a "Smart Host". Typically, the Smart Host is your corporate email server.
During Advantech WebAccess/SCADA Installation, the SMART HOST for the Project Node is to set either the Mail Server entered (or mail.Advantech.com as the default smart host).
The Advantech WebAccess/SCADA Project node will send an email through an existing SMTP compatible mail server. If the SCADA node is part of a domain, sending email to other users within the same domain does not usually require any changes to the mail server ( a smart host is not needed). If mail must be sent outside of the mail server's domain, then the SCADA Node must be added to the list of IP Addresses that can "relay" mail through the mail server or a "Smart Host" must be configured for SMTP server of the SCADA node.
Using the MAIL "host=scadanode_ip" is a way to have the mail come from the specific SCADA Node rather than the Project Node.
There is an error message log on the SCADA node at:
drive:\WebAccess\Node\project_scadanode\bwmail.log
In order for the Project Node to send emails outside of you local domain, it must relay messages to a computer that is part of the Internet, a so-called "Smart Host". Typically, this would be your company's email SMTP server or your Internet Service Provider' s (ISP). The Project Node (or what ever host you are using) must be enabled to relay messages on the Smart Host.
The Smart Host is specified during Installation on the Project Node. The default setting is mail.Advantech.com. If you would like to change the Smart Host used by the Project Node to send email, you can do this from the Internet Services Manager on the Project Node.
Assuming the EMAIL server is Microsoft, to add the SCADA Nodes IP address to the Mail Server list of nodes allowed to "Relay" messages, open Internet Services Manager on the Project Node
1. Start-> Settings-> Control Panel-> Administrative Tools-> Internet Service Manager
2. Select the name of the mail server computer to expand the tree (FTP Service, Web Service, SMTP, etc)
3. Right Click on SMTP
4. Select Properties
5. Select the Delivery Tab
6. Select Advances button
7. Under Smart Host, type the address of your SMTP mail server.
This can be an IP Address or the url (e.g. mail.company.com). You will need to get the exact name from your System Administrator. This is usually the same name used to setup an ordinary email account.
8. Select OK
9. Select OK a second time to close the default SMTP Server applet.
Many Smart Hosts enable all addresses to relay messages through them. If for some reason your emails are not relayed by your "Smart Host", the system administrator may have restricted who can relay email messages through hi SMTP Server. The Project Node probably needs to be added to the list of IP addresses that can relay messages through your SMTP Smart Host.
In order for the Project Node to send emails outside of your local domain, it must be recognized by a computer that is part of the Internet, a so-called "Smart Host". Typically, this would be your company's email SMTP server or your Internet Service Provider (ISP). The Project Node (or what ever host you are using) must be enabled to relay messages on the Smart Host.
Assuming the EMAIL server is Microsoft, to add the SCADA Nodes IP address to the Mail Server list of nodes allowed to "Relay" messages
1. Start-> Settings-> Control Panel-> Administrative Tools-> Internet Service Manager
2. Select the name of the mail server computer to expand the tree (FTP Service, Web Service, SMTP, etc)
3. Right Click on SMTP
4. Select Properties
5. Select the Access Tab
6. Select Relay
7. Select ADD
8. Enter the IP Address of the SCADA Node
9. Select OK