Send email from batch file automatically

Example of simple batch file, that sends 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:

febootimail -FROM -TO -TEXT See attached document -ATTACH c:\documents\report.xls

rem For more commands, see online help

Sending email from .bat file is very easy. You may need to add SMTP server parameter (see email basics). You can use free mail server (Gmail example). Remember, before running the script, download febootimail.

Related commands:

If you have any questions, please do not hesitate to contact our support team.

© 2001–2019 Febooti Ltd.