Blat is for sending mail with attachments from a Windows machine and supports doing so from the cmdline / batch script. Blat is obtained from http://www.blat.net/ Zip files containing Blat version 311 for both 32 and 64 bit versions are present in the bin folder. Extract them here first to start using them with task.pl, make sure to call the extracted folder "blat" not blat311 or anything else. http://www.jeffkastner.com/2010/01/blat-stunnel-and-gmail/ (gmail, Stunnel for ssh, and blat) http://tech.groups.yahoo.com/group/blat/message/12004 (gmail, Stunnel for ssh, and blat) http://tech.groups.yahoo.com/group/blat/message/5811 (username and pwd)