Call now to talk to an automation expert — (512) 345-2211

Knowledge Base

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 outgoing mail server you must connect on port 587 with the /ssl option.

The syntax will look something like this:

SENDMAIL "" "Joe Blow" "" /port=587 /ssl /user="" /pw="secret"

Robo-FTP can also connect to Gmail using implicit mode SSL on port 465 like this:

SENDMAIL "" "Joe Blow" "" /port=465 /sslimp /user="" /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

Need help figuring out where to start?

Our sales staff is available to answer product questions and help you determine if Robo-FTP is a good match for your project.

Call Now: (512) 345-2211