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,
> [EMAIL PROTECTED]



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

Reply via email to