I have a Windows 2003 R2 server and I want to send an email from the command line. This server does not have the SMTP service configured. Is there a one liner that will let me send an email? My specific use case at the moment is to send an email when a performance alert is triggered, but it would be useful in general.
I'm hoping for something like
foomail -t [email protected] -f [email protected] -m "Alert! the sky is falling"
Update: I would much prefer a solution that does not involve installing 3rd party software.