Batch no dispone de ningún comando nativo para enviar e-mails... tienes que usar aplicaciones de terceros, como por ejemplo
Zetauploader (Pero la versión CommandLine), es de lo mejor que existe y gratis.
PD: O usa cualquier otro lenguaje que no séa Batch para enviar emails sin necesidad de usar otro software.
ZETA UPLOADER CONSOLE version 2.1.0.35
Application to upload files and folders through the Zeta Uploader service.
See
https://www.zeta-uploader.com for more information
Usage:
zulc.exe
-help
-path="<file path or folder path>"
-excludes="<semicolon-separated list of exclude sub strings. Can be file to read from. Optional>"
-receivers="<receiver e-mail addresses, semicolon-separated. Can be file to read from. Optional>"
-remarks="<additional remarks for the receivers. Can be file toread from. Optional>"
-language="de|en|tr"
-subject="<subject of the generated e-mail message. Can be fileto read from. Optional>"
Return values:
-1 : An error has occurred.
0 : Everything worked correctly.
Example (write in a single line when using):
zulc.exe
-path="c:\my\folder\to\send"
-excludes=".obj;.exe;\subfolder\;file.;.txt"
Remarks:
If a folder is being sent, the content of the folder are being compressed to one file before sending.
Saludos.