Thanks, the test email was received.
--- "Gerrit P. Haase" <[EMAIL PROTECTED]> 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, > > [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 > -- > =^..^= > > > __________________________________________________ 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/