11.1.71.1   <MAIL>HOST=

Description:   Specifies an email Server other than the Outgoing SMTP Server configured in SCADA Node Properties.  This Host must allow Relay from the SCADA node.

Syntax:         <MAIL>HOST=mailserver</MAIL>
<MAIL>HOST=mailserver
 

Argument:     Host name
</MAIL> not needed for Keymacro file

See Also:       <MAIL>, </MAIL>

 

Examples:      <MAIL>HOST=smtp.yourcompany.com</MAIL>
<MAIL>HOST=67.94.27.200
<MAIL>HOST=mail.cwo.com

Specifies an email Server other than the default (by default, WebAccess will send mail from the Outgoing SMTP Server configured in SCADA Node Properties).  

Important -If using this HOST command, the SMART HOST must allow Relay from the SCADA Node (note that Outgoing email Severe in SCADA node properties can log in with a user name and password).  This HOST command does not allow a user login, therefore RELAY must be enabled on the HOST to accept the SCADA node's IP or network name. Any Windows 2000 or XP Professional PC that has SMTP installed (see Internet Services Manager) can be specified.

Using the <MAIL>HOST=scadanode_ip is a way to have the mail use another SMTP server than is configured in SCADA Node properties or if no SMTP server is configured in Outgoing SMTP Server.

Troubleshooting

There is an error message log on the SCADA node at:
drive
:\WebAccess\Node\project_scadanode\bwmail.log

Smart Host

In order for the HOST Command to connect to an SMTP server , it must use "relay" to send 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).   This Smart Host must be configured to accept relay from the SCADA node's IP address or network name.  If you can not use relay, it is recommend you configure the Outgoing SMTP Email Server in SCADA Node properties and do not use this Host command.

ADD a Smart Host (Email Server) to accept any Windows PC with IIS and SMTP service installed

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.

Relay Messages

Few 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).  

Assuming the EMAIL server is Microsoft, to add the SCADA Nodes IP address to the Mail Server list of nodes allowed to "Relay" messages

Modify Email Server to accept Relay from the WebAccess SCADA 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 Access Tab

6.      Select Relay

7.      Select ADD

8.      Enter the IP Address of the SCADA Node

9.      Select OK