New release – Command line email v6.0 – still easiest way to send emails from your Windows scripts. Now fully compatible with Windows 10 and Windows Server 2016 all editions (Standard, Datacenter, Web, etc.). The release includes some security improvements and other tweaks. More detailed info available in the release notes.
Example syntax for sending emails using Gmail SMTP server. No need for your company or ISP email server.
febootimail -SUBJECT Sending CLE email using Gmail -SERVER smtp.gmail.com -SSL -AUTH PLAIN -USER YourEmail@gmail.com -PASS *********** -FROM YourEmail@gmail.com -TO email@example.com -TEXT This email is sent via Gmail's email server. It is easy and secure!
Latest version v6.0 – Free download
Command line email v5.2 improves handling of NTLM authentication and includes latest OpenSSL libraries.
New version of Command line email is available for download. We have added support for Message-ID, and for backward compatibility -NOID command.
Febooti Command line email v5.0 is available for download now. We have made some new command line parameters and many improvements, including ability to use separate log file for email sending success/failure, added support for Windows 8 and Windows Server 2012, updated OpenSSL and many more. See release history for more details.
The answer is YES. Febootimail works with Gmail using automatic authentication, or alternatively you must explicitly specify SSL or TLS command line arguments/parameters.
So, what is the syntax? The recommended way is to use automatic authentication. Google is enforcing use of SSL for all of its services, so using AUTH AUTO will automatically enable TLS/SSL.
Here is an example:
febootimail -SERVER smtp.gmail.com -AUTH AUTO -USER YourEmail@gmail.com -PASS *********** -FROM YourEmail@gmail.com -TO firstname.lastname@example.org -SUBJ "Gmail test" -TEXT "Testing Gmail. It is easy and secure!"
All command line arguments/parameters used:
-SUBJ "Gmail test"
-TEXT "Testing Gmail. It is easy and secure!"
Need help on parameters? Here is a help: All command line email parameters explained.
NOTE: you can only send emails using your Gmail’s email address in the FROM field. Other addresses will not work.
Some more examples, if you want to tweak your command line parameters:
Febooti Command line email v4.1 is available now. Among updated OpenSSL libraries, we have made improvement related to iOS. One of our users have reported that iPhone uses CID image caching using CID from HTML email provided from email client. Checking relevant RFCs indeed confirmed, that image CIDs must be globally unique (unique in email itself is not enough). We switched to GUID, so chance of collision is almost impossible, even if all 7,000,000,000 of world population would send emails using our Command line email tool simultaneously.
Note to developers and users who use .eml files: If you develop similar software — that sends emails that can land in the iOS/iPhone inbox, then extra care should be taken, because if possible attacker can guess your next image CIDs, she/he can take advantage of that fact and poison iOS email client cache with some SPAM images that will appear in your sent HTML email message.