in reply to sendmail not sending
I think you need to specify the recipient(s) on the command line, when using sendmail in this way. You might also want to consider the -i option, to stop it interpreting a . on its own as EOF:
open(MAIL, "| $sendmail -i $admin_mail") or die "Cannot open sendmail: $!";
You should, of course, check your local documentation for sendmail (man sendmail) for confirmation of this, as it may vary between Unix versions (I just did a quick test on HP-UX 11).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: sendmail not sending
by dave_the_m (Monsignor) on May 25, 2004 at 10:50 UTC | |
by muntfish (Chaplain) on May 25, 2004 at 11:13 UTC |