E-mail SMTP SEND MAIL - < email_smtp_sendmail >() ... [Pro]
E-mail SMTP SEND MAIL <email_smtp_sendmail>("Server","Login name","Password","To","CC","Subject","Message text","Attachment",Port,TLS/SSL,"From (name)","From (e-mail)") Available in: Professional edition
|
This command sends an e-mail using SMTP. Unlike , this command does not require any e-mail client to be installed on the computer.
|
#
|
Parameter name
|
Parameter description
|
1
|
Server
|
A SMTP server.
|
2
|
Login name
|
Message number (index) to get. The first e-mail message has number "0", the second one has "1" and so on....
|
3
|
Password
|
Variable that receives "from" field of the e-mail message.
|
4
|
To
|
Variable that receives "subject" field of the e-mail message.
|
5
|
CC
|
Variable that receives "body" field of the e-mail message.
|
6
|
Subject
|
This is a full path to the file to attach to the e-mail message.
|
7
|
Message text
|
Port number to use. If left empty a default port number is used.
|
8
|
Attachment
|
If 0, the SSL is not used otherwise the SSL is used.
|
9
|
Port
|
|
10
|
TLS/SSL
|
|
11
|
From (name)
|
|
12
|
From (e-mail)
|
|
|
|
Example (Macro Steps):
|
1
|
<#> <#> Thic sample shows how send an email.
|
2
|
Macro execution: ONLY COMMANDS
|
3
|
E-mail SMTP SEND MAIL Server = "myserver.com", Login name = "myaccount", Password = "mypassword", To = "john@something.com", CC = "", Subject = "Hello John", Message text = "friendly letter from your family. Visit us soon!", Attachment = "", Port = "", TLS/SSL = "No", From (name) = "", From (e-mail) = ""
|
|
Example (Plain Text):
<#> Thic sample shows how send an email.
<cmds>
<email_smtp_sendmail>("myserver.com","myaccount","mypassword","john@something.com","","Hello John","friendly letter from your family. Visit us soon!","",,0)