SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎TARGET Object‎ > ‎target.mail‎ > ‎

SetSMTP


Platform Objects


Description

Sets the SMTP server for mail operations.  An attempt to find a server automatically will be made if all parameters are omitted.

Syntax


trg.mail.SetSMTP server, login, password

server (input) - name/address of the mail sever
login (input) - username for the mail server
password (input) - password for the mail server


Return value


This function doesn't return a value.

Sample

'---------- Start ----------
Function Start

    trg.mail.SetSMTP simx02, login, password

End Function

See also


Platform Objects and Methods
SetPickUpFolder()
target.mail