Launched my new project in sourceforge. It is simply a command line SMTP GMailing tool.
I googled a lot in pursuit of Linux/Unix like utilities for my windows machine. Could find some of them (Shared them in my previous post).
Successfully installed and executed some of them :) Came across blat - A Windows (32 & 64 bit) command line SMTP mailer. Installed in my system. Executed - but could not connect to smtp.gmail.com - secured connection (using SSL) was required and blat do not support it.
Tried using open_ssl to connect to gmail.
openssl s_client -connect smtp.gmail.com:465 -crlf -ign_eof
welcome screen comes
220 mx.google.com ESMTP is3sm3300685pbc.6
250 mx.google.com at your service
334 VXNlcm5hbWU6 (asking for username - base-64 encoded form)
type-in the base-64 encoded username
334 UGFzc3dvcmQ6 (asking for password)
type-in the base-64 encoded password
Through the above procedure we can only check the connection and credentials. And everything should be base-64 encoded. Why such chaos?
With the power of Java and JavaMail API created a simple java program which accepts everything through the console. The program is just 12KB of size. Remaining (in 3.1MB) is contributed by the API jars ;)
Check this in sourceforge - dbMail.
dbMail.bat -s=smtp.gmail.com -u=<loginId> -p=<password> -to=<email1;email2;email3> -cc=<email1;email2;email3> -bcc=<email1;email2;email3>
Please do not forget to give feedback :)