Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3E71AA90.BFE9BAAC@swipnet.se>
Date: Fri, 14 Mar 2003 11:10:24 +0100
From: a12 <a12@swipnet.se>
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: How to use ssmtp ?
References: <3E709153.ADF922AB@swipnet.se> <Pine.LNX.4.44.0303131528080.13904-100000@localhost.localdomain> <20030313143354.GC15611@pentek.com> <20030313144102.GK27047@cygbert.vinschen.de> <3E719C4E.17017359@swipnet.se> <20030314091435.GG2032@nbof>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Olaf,

Thank you for your hint.

echo test|ssmtp -s test recipient@domain.com
does send a mail.

The From: field contains 'sys [sys@mail.xyz.com]'. As I want to
contains it 'sys@rrback', I enter:
echo test|ssmtp -fsys@rrback -s test recipient@domain.com
and it works as expected.

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 ?

/Marek

Olaf Foellinger wrote:

> On Fri, Mar 14, 2003 at 10:09:34AM +0100, a12 wrote:
> > Corinna,
> >
> > I have read man ssmtp and /usr/doc/Cygwin/ssmtp-2.38.7/, and I
> > still feel perplexed how to send a mail.
> >
> > I have fetched Blat http://www.interlog.com/~tcharron/blat.html
> > and an one-liner (b.bat) contains:
> > blat.exe mpu.log -t a12@xyz.com -f AutoIT@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@domain.com
>
> Gruss Olaf Föllinger
>
> --
> Olaf Föllinger
> Berater
> S.E.S.A. Software und Systeme AG
>
> Alt-Moabit 91a
> D-10559 Berlin
> Germany
> Tel:   +49 30 390722 -291
> Fax:   +49 30 390722 -222
> Mobil: +49 173 6227080
> http://www.sesa.de
> mailto: Olaf.Foellinger@sesa.de
>
> --
> 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/


--
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/

