Enter search queries below or use the tag links to the right to browse the knowledge base by category (Show All Tags).
Using the SENDMAIL command with Gmail
To use the SENDMAIL command with the smtp.gmail.com outgoing mail server you must connect on port 587 with the /ssl option.
The syntax will look something like this:
SENDMAIL "smtp.gmail.com" "Joe Blow" "JB@somewhere.com" /port=587 /ssl /user="email@example.com" /pw="secret"
Robo-FTP can also connect to Gmail using implicit mode SSL on port 465 like this:
SENDMAIL "smtp.gmail.com" "Joe Blow" "JB@somewhere.com" /port=465 /sslimp /user="firstname.lastname@example.org" /pw="secret"
Gmail does not allow you to send attachments that could contain damaging executable code. Also note that with Gmail you can send messages up to 25 megabytes (MB) in size.
- You must first run the CREATEMAIL command to create your email before you can issue the SENDMAIL command.
- This technique will only work if you do not have multi-factor authentication turned on for your Gmail account.
- Gmail is the property of Google Inc. so these connection requirements are subject to change.
Article last updated: 2017-02-07
Tags: Robo-FTP, SENDMAIL, email, SMTP