Send Email

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
This command allows you to send emails to a recipient. The command works with the [[Connect To Mail Server|connect to mail server]] command.
 
This command allows you to send emails to a recipient. The command works with the [[Connect To Mail Server|connect to mail server]] command.
  
To send emails, it is important to select the appropriate setting type for the mail sender. You can check and uncheck the Use SSL option depending on how you want the emails sent out.
+
To send emails, it is important to select the appropriate setting type for the mail sender. You can select and deselect the Use SSL option depending on how you want the emails sent out.
  
UBot will provide the correct port when you check or uncheck the Use SSL option.
+
UBot will provide the correct port when you select or deselect the Use SSL option.
  
  

Revision as of 15:07, 14 April 2013

This command is an Email Command.

This command allows you to send emails to a recipient. The command works with the connect to mail server command.

To send emails, it is important to select the appropriate setting type for the mail sender. You can select and deselect the Use SSL option depending on how you want the emails sent out.

UBot will provide the correct port when you select or deselect the Use SSL option.


Gmail Send Email

Gmailsendemail.png


AOL Send Email

Aolsendemail.png


Hotmail Send Email

Hotmailsendemail.png


Yahoo Send Email

Yahoosendemail.png


Other Email Options Othersendemail.png


Example

connect to mail server("SMTP With SSL", "Username Here @gmail.com", "Password Here", "smtp.gmail.com", 587) {
    send email("recipient's email here", "Hello", "Plain Text", "So how\'s it going?", "", "", "")
}

Running the above script with your gmail username and password, along with a recipient's email, will send the designated message to the recipient's mailbox.

File:SendemailCommand.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox