delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/14/08:01:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3E71D291.44419E8D@swipnet.se>
Date: Fri, 14 Mar 2003 14:01:05 +0100
From: a12 <a12 AT swipnet DOT se>
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to use ssmtp ?
References: <3E709153 DOT ADF922AB AT swipnet DOT se> <Pine DOT LNX DOT 4 DOT 44 DOT 0303131528080 DOT 13904-100000 AT localhost DOT localdomain> <20030313143354 DOT GC15611 AT pentek DOT com> <20030313144102 DOT GK27047 AT cygbert DOT vinschen DOT de> <3E719C4E DOT 17017359 AT swipnet DOT se> <20030314091435 DOT GG2032 AT nbof> <3E71AA90 DOT BFE9BAAC AT swipnet DOT se> <3E71C604 DOT 5020407 AT isg DOT de>

Tino,

Thank you for your tip about Blat.
The following command in cygwin window sends mail:
/cygdrive/h/blat/blat.exe file -t a12 AT mail DOT xyz DOT com
-f sys AT rrback -server mail.xyz.com -s "Subject"

Marek

Tino Lange wrote:

>  >>>I have fetched Blat http://www.interlog.com/~tcharron/blat.html
>  >>>and an one-liner (b.bat) contains:
>  >>>blat.exe mpu.log -t a12 AT xyz DOT com -f AutoIT AT rrback -server
>  >>>mail.xyz.com -log blat.log -s "Error detected in mpu_fh"
>  >>>(Of course xyz.com and mail.xyz.com are not real names).
>  >>>
>  >>>Now, I would like to send a mail using ssmtp, but I do neither
>  >>>find the required info in 'man ssmtp' nor in
>  >>>/usr/doc/Cygwin/ssmtp-2.38.7/
>  >>>
>  >>>More hints will be greatly appreciated.
>  >>
>  >>echo test|ssmtp -s test recipient AT domain DOT com
>
> > The To: field is empty. How do I set it ?
> > The Subject: field is empty. How do I set it ?
> > How do I send a file ?
>
> Forget about ssmtp! Really.
> As you just realize it's not easy to use and if you want to send files
> it's not useable at all, since it has a limit of mails <= 4k size.
>
> Use either blat, which is really a cool tool and should work fine under
> cygwin too. It has all you need, is stable, reliable, just great software.
>
> Or if you like to have something more like a real "sendmail"-wrapper
> (just forwarding), you can easily write your own small wrapper in perl
> or python, which will be better than ssmtp in just a few lines of code...
>
> I can send you mine as an example, if you're interested.
>
> Cheers,
>
> Tino


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019