| delorie.com/archives/browse.cgi | search |
| 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 |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Tue, 12 Mar 2002 00:48:31 +0100 |
| From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
| X-Mailer: | The Bat! (v1.53t) Business |
| Reply-To: | "Gerrit P. Haase @ cygwin" <cygwin AT cygwin DOT com> |
| Organization: | Esse keine toten Tiere |
| X-Priority: | 3 (Normal) |
| Message-ID: | <1241340010913.20020312004831@familiehaase.de> |
| To: | dale henderson <dalehend AT yahoo DOT com> |
| CC: | cygwin AT cygwin DOT com |
| Subject: | Re: ssmtp: No recipients supplied |
| In-Reply-To: | <20020311222740.56489.qmail@web11206.mail.yahoo.com> |
| References: | <20020311222740 DOT 56489 DOT qmail AT web11206 DOT mail DOT yahoo DOT com> |
| MIME-Version: | 1.0 |
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 -- =^..^= -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |