Email Connect

Top  Previous  Next

The EmailConnect function connects to the email server.

 

Syntax

 

connected = EmailConnect( serverName, [returnEmail], [replyEmail], [userName], [password], [port] )

 

Parameters

serverName

 

the name of the email server

returnEmail

 

the return address

replyEmail

 

the reply address

userName


the username for the email account

password


the password for the email account

port


the port




connected


return value of true if the connection was successful

 

Example

 EmailConnect( "smtpout.myserver.net", "Order Processing<thewebmaster@tradingblox.net>", "Order            Processing<thewebmaster@tradingblox.net>", "thewebmaster@tradingblox.net", "somepassword" )