CMD Email, programming

CMD Email – command line email utility

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:

Usage:

CmdEmail -f nobody@nowhere.com -t you@domain.com -s Subject -b Body
CmdEmail -f "nobody@nowhere.com" -t "you@domain.com" -s "Subject" -b "Body"
CmdEmail -f nobody@nowhere.com -t you@domain.com,me@domain.com -s Subject -b Body
All command switches:
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
Tagged ,

1 thought on “CMD Email – command line email utility

Leave a Reply

Your email address will not be published. Required fields are marked *