This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: ssmtp: No recipients supplied
- From: "Gerrit P. Haase" <gp at familiehaase dot de>
- To: dale henderson <dalehend at yahoo dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 12 Mar 2002 00:48:31 +0100
- Subject: Re: ssmtp: No recipients supplied
- Organization: Esse keine toten Tiere
- References: <20020311222740.56489.qmail@web11206.mail.yahoo.com>
- Reply-to: "Gerrit P. Haase @ cygwin" <cygwin at cygwin dot com>
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@yahoo.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/