Command Line Email FAQ—simple answers to complex questions.
Example of a simple batch file, that sends a document as attachment. Email sending is done automatically, without any user interaction. Example of
Send Document.bat file:
rem This script requires febootimail.exe
rem Free download: www.febooti.com/downloads/
febootimail -FROM firstname.lastname@example.org -TO email@example.com -TEXT See attached document -ATTACH c:\documents\report.xls
rem For more commands, see online help
Sending an email from a .bat file is very easy. You may need to add the SMTP server parameter (see email basics). You can use a free mail server (Gmail example). Remember, before running the script, download febootimail.
If you have any questions, please do not hesitate to contact our support team.