I’ve completed my first open source project. I have been wanting to put something out on Codeplex for a while and finally got around to it. The project I released is a small little command line email utility that uses the .NET 2.0 framework. I wrote a more simple version of this years ago to email me when Windows scheduled tasks (batch files) completed. The released version accepts many more options and allows you to store certain data into an application configuration file.
As this post title states, the utility is called CmdEmail and can be found here on codeplex. From the project page you can download the latest (initial) release, see usage information and access the source code too. Here’s a blurb on the usage from the project’s home page:
CmdEmail -f firstname.lastname@example.org -t email@example.com -s Subject -b Body
CmdEmail -f "firstname.lastname@example.org" -t "email@example.com" -s "Subject" -b "Body"
CmdEmail -f firstname.lastname@example.org -t email@example.com,firstname.lastname@example.org -s Subject -b Body
t, to Required. Recipient (To) f, from Required. Sender (From) b, body Required. Email Body s, subject Required. Email Subject h, host SMTP Server - Optional only if provided in app config p, port SMTP Port - Optional, can also be provided in app config u, username Username - Optional, can also be provided in app config p, password Password - Optional, can also be provided in app config help