Neko based command line tool written in Haxe for sending mail to an SMTP server.
If you run EasyMail with no command line arguments, you should see the following message:
EasyMail requires at least six arguments:
[to], [from], [mailSubject], [mailText], [mailHtml], [smtpHost]
Optional arguments: [port], [username], [password]
EasyMail you@service.com from@service.com "Hello" "Message Content" "" smtp.service.com 25 username password
EasyMail you@service.com from@service.com "Hello" "Message Content" "" smtp.service.com
EasyMail you@service.com from@service.com "Hello" "Your mail client doesn't support HTML" "<html><h1>Hello!</h1><p>Content</p></html>" smtp.service.com
EasyMail.n
is the neko byte code for EasyMail. It can be run directly using neko VM; http://nekovm.org/
neko EasyMail.n you@service.com from@service.com "Hello" "Message Content" "" smtp.service.com 25 username password
Neko is available on Windows, Linux, and OS X, and buildable for other operating systems from source.
Google mail example: (Failed on my system, Windows 7 64x, without error)
EasyMail you@service.com from@service.com "Hello" "Sending via google..." "" smtp.googlemail.com 465 GOOGLE_LOGIN@gmail.com GOOGLE_PASSWORD