sOKOle has asked for the wisdom of the Perl Monks concerning the following question:
and this doesn't work (and nothing is sent):$mailprog = '/usr/sbin/sendmail'; open (MAIL, "| $mailprog -t -oi")||die "server error; Please try again + later"; print MAIL "To: falcons\@polbox.com\n"; print MAIL "Subject: do-kina\n\n"; foreach $key (keys(%formdata)) { print MAIL "$key = $formdata{$key}\n"; } close MAIL;
the only small change is in the e-mail address. Could you tell me what's wrong please? Regards, sOKOle$mailprog = '/usr/sbin/sendmail'; open (MAIL, "| $mailprog -t -oi")||die "server error; Please try again + later"; print MAIL "To: m.kwest\@cematsil.com.pl\n"; print MAIL "Subject: do-kina\n\n"; foreach $key (keys(%formdata)) { print MAIL "$key = $formdata{$key}\n"; } close MAIL;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sendmail trouble
by Abigail-II (Bishop) on Sep 05, 2003 at 13:59 UTC | |
by sOKOle (Acolyte) on Sep 05, 2003 at 14:06 UTC | |
by Abigail-II (Bishop) on Sep 05, 2003 at 14:11 UTC | |
|
Re: sendmail trouble
by blue_cowdawg (Monsignor) on Sep 05, 2003 at 14:31 UTC | |
by barrd (Canon) on Sep 05, 2003 at 16:22 UTC | |
by blue_cowdawg (Monsignor) on Sep 05, 2003 at 18:43 UTC | |
by barrd (Canon) on Sep 05, 2003 at 20:14 UTC | |
|
Re: sendmail trouble
by jdtoronto (Prior) on Sep 05, 2003 at 17:27 UTC |