This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/ 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" | -s 'this is a test subject' 

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: [] On Behalf Of Marilo
Sent: Sunday, September 28, 2014 12:21 PM
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:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]