DescriptionSends an e-mail message. Syntaxtrg.mail.Send from, to, subject, body, HTML
Description
Sends an e-mail message.
Syntax
trg.mail.Send from, to, subject, body, HTML
from (input) - The from e-mail addressto (input) - The to e-mail addresssubject (input) - the text of the subjectbody (input) - the text of the body of the e-mailHTML - boolean true/false input, whether the body of the e-mail is in HTML or not.
Return value
This function does not return a value.
Sample'---------- Start ----------Function Start trg.mail.Connect "imap", "simx02", "support@simx.com", "test2" trg.mail.Send "support@simx.com", "test@simx.com", "Sample", "This is a sample e-mail.", falseEnd FunctionSee alsoPlatform Objects and Methodstarget.mail.ReplacePath()target.mail.SetAttachments()target.mail
Sample'---------- Start ----------Function Start trg.mail.Connect "imap", "simx02", "support@simx.com", "test2" trg.mail.Send "support@simx.com", "test@simx.com", "Sample", "This is a sample e-mail.", falseEnd FunctionSee also
'---------- Start ----------
Function Start
trg.mail.Connect "imap", "simx02", "support@simx.com", "test2"
trg.mail.Send "support@simx.com", "test@simx.com", "Sample", "This is a sample e-mail.", false
End Function
Platform Objects and Methodstarget.mail.ReplacePath()target.mail.SetAttachments()target.mail