Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
That works fine for sending emails to valid/working email address.open (SENDMAIL, '|/usr/sbin/sendmail -oi -t') or die "Cannot fork to s +endmail: $!"; print SENDMAIL <<"EOF"; From:<$email> To:<$email2> Errors-To:<$email> Subject: $subject $body EOF close (SENDMAIL);
Perl complaints with this error message (without sending emails to both valid/invalid email address):open (SENDMAIL, '|/usr/sbin/sendmail -oi -t -OUseErrorsTo=true')
Any idea about how to use Perl + sendmail to handle bogus email address?? Having the original email bounced back to the $email is my goalCan't create transcript file ./xff5DLdxv22364: Permission denied
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sendmail in Perl to handle false/bogus/undeliverable email address
by perigeeV (Hermit) on Jun 14, 2001 at 02:30 UTC | |
by Anonymous Monk on Jun 14, 2001 at 02:36 UTC | |
by perigeeV (Hermit) on Jun 14, 2001 at 02:50 UTC | |
by Tuna (Friar) on Jun 14, 2001 at 04:27 UTC |