sdlmail is a dirt-simple commandline mailer program I put together for my own use, to send emails to idled out players on a MUD I administrate. It sends emails via SMTP. I have tested it under Linux, Windows 98, Windows 2000, and Macintosh OSX.

It requires that the SDL and SDL_net libraries be installed. These can be obtained at libsdl.org.

It is operated quite simply:

sdlmail text.txt smtp.my_isp.com from_here@my.isp to_there@there.com

Where text.txt is an ASCII file containing the raw message, smtp.my_isp.com is your ISP's SMTP server, from_here@my.isp is your email address, and to_there@there.com is the email address you wish to send to.

The data in text.txt is totally raw -- any headers and such you want must be in the txt itself in the proper format. The same goes for file attachments and the like.

The sdlmail binary is installed into /usr/bin, and this documentation into /usr/share/doc/sdlmail.