Re: command line smtp client / command line email?
On 28.9.2014 19:20, Marilo wrote: what are my options for a command line smtp client in cygwin? Hi Marilo. Have You tried sendEmail ? (http://caspian.dotconf.net/menu/Software/SendEmail/) It is not a Cygwin package but perl script (and compiled Windows executable). I use it for sending logs from my Windows boxes. -- .: Vlado :. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
RE: command line smtp client / command line email?
Now that I'm at work, I've done some digging, and here's what I've found... On my ancient Windows XP box running 32-bit Cygwin, I have a package installed that provides /usr/sbin/sendmail.exe as a symlink to /usr/sbin/ssmtp.exe, and a shell secript /usr/bin/mailx.sh that is a front-end for it. I've been using these to send emails from cron, and from my own perl script, for several years and have never had any issues. It even works from a shell script thusly: $ echo This is the message body | mailx.sh -s 'this is a test subject' jlel...@myemail.com And I get the email in my office inbox. (Obviously I've obfuscated my email address in the line above as an anti-spam measure.) -- Joi Owen System Administrator Pavlov Media, Inc -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Marilo Sent: Sunday, September 28, 2014 12:21 PM To: cygwin@cygwin.com Subject: command line smtp client / command line email? what are my options for a command line smtp client in cygwin? I'd want to specify smtp server and from address. I'd like TLS/SSL to be supported by the command sendmail , doesn't look like it exists on cygwin and I know on *nix it shuts down any postfix server so I guess it mighttry to shut down any smtp server I have running. heirloom mailx looks good, but doesn't exist for cygwin. I can't see anything for sending an email from/in cygwin -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
command line smtp client / command line email?
what are my options for a command line smtp client in cygwin? I'd want to specify smtp server and from address. I'd like TLS/SSL to be supported by the command sendmail , doesn't look like it exists on cygwin and I know on *nix it shuts down any postfix server so I guess it mighttry to shut down any smtp server I have running. heirloom mailx looks good, but doesn't exist for cygwin. I can't see anything for sending an email from/in cygwin -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: command line smtp client / command line email?
Am 28.09.2014 19:20, schrieb Marilo: what are my options for a command line smtp client in cygwin? I'd want to specify smtp server and from address. I'd like TLS/SSL to be supported by the command sendmail , doesn't look like it exists on cygwin and I know on *nix it shuts down any postfix server so I guess it mighttry to shut down any smtp server I have running. heirloom mailx looks good, but doesn't exist for cygwin. I can't see anything for sending an email from/in cygwin There is ssmtp which runs smoothly and is configured sufficiently easily. I've been using it with a wrapper script to add some comfort in composing a mail. There is also 'email' but beware, it's broken and sometimes silently corrupts email bodies, so you'd better not use it until it gets fixed. Thomas -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: command line smtp client / command line email?
Hi Marilo, Marilo wrote: what are my options for a command line smtp client in cygwin? I'd want to specify smtp server and from address. I'd like TLS/SSL to be supported by the command sendmail , doesn't look like it exists on cygwin and I know on *nix it shuts down any postfix server so I guess it mighttry to shut down any smtp server I have running. heirloom mailx looks good, but doesn't exist for cygwin. I can't see anything for sending an email from/in cygwin I almost finished porting Sendmail for Cygwin. It does not shut down Exim or Postfix, but it needs an open port 25 to the outside. Most ISP's don't allow this. The 'email' program can be configured to use the SMTPA (AUTH) port 465 of your ISP. I've been using it for over a year now. No corrupt message body yet. Cheers, Daniel -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple