Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <3E71AA90.BFE9BAAC@swipnet.se> Date: Fri, 14 Mar 2003 11:10:24 +0100 From: a12 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> <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> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Olaf, Thank you for your hint. echo test|ssmtp -s test recipient AT domain DOT com does send a mail. The From: field contains 'sys [sys AT mail DOT xyz DOT com]'. As I want to contains it 'sys AT rrback', I enter: echo test|ssmtp -fsys AT rrback -s test recipient AT domain DOT 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 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 > > 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 DOT Foellinger AT sesa DOT 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/