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 Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020312004747.22273.qmail@web11204.mail.yahoo.com> Date: Mon, 11 Mar 2002 16:47:47 -0800 (PST) From: dale henderson Subject: Re: ssmtp: No recipients supplied To: "Gerrit P. Haase @ cygwin" In-Reply-To: <1241340010913.20020312004831@familiehaase.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Thanks, the test email was received. --- "Gerrit P. Haase" wrote: > Hallo dale, > > Am 2002-03-11 um 23:27 schriebst du: > > > I have installed the latest ssmtp from > contrib/ssmtp > > and the error above from the following test script > at > > a shell prompt. > > > Any help appreciated, > > dalehend AT yahoo DOT com > > > > > #!/usr/bin/perl > > #Make sure the above line is the path > > #to perl on your server. > > > $mailprog = "/usr/sbin/ssmtp"; > > $now_string = localtime; > > open (MAIL, "|$mailprog ") || die "Can't open > > $mailprog!\n"; > > print MAIL "From: projectobjects\@earthlink.net > \n"; > > print MAIL "To: dalehend\@yahoo.com \n"; > > print MAIL "Subject: Fortuna: test \n\n"; > > print MAIL "$now_string \n\n test \n\n"; > > > close (MAIL); > > Have you got my mail? > I used this: > > #!/usr/bin/perl > #Make sure the above line is the path > #to perl on your server. > > $mailprog = "/usr/sbin/ssmtp"; > $now_string = localtime; > open (MAIL, "|$mailprog -f gp\@familiehaase.de > dalehend\@yahoo.com") > || die "Can't open $mailprog!\n"; > print MAIL "From: projectobjects\@earthlink.net \n"; > print MAIL "To: dalehend\@yahoo.com \n"; > print MAIL "Subject: Fortuna: test \n\n"; > print MAIL "$now_string \n\n test \n\n"; > > close (MAIL); > > > And try also: > > $ man ssmtp > > > Gerrit > -- > =^..^= > > > __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- 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/