Philip M
10-20-2002, 12:38 PM
I have an order form which submits via a modified Formmail.pl, which generates an auto-acknowledgement.
A fragment of the script:-
# Open The Mail Program for auto acknowledgement #
open(MAIL,"|$mailprog -t");
print MAIL "From: Autoresponder\@mysite.co.uk\n";
print MAIL "To: $Config{'Email_Address'} ($Config{CustomerName'})\n";
The problem is that if the customer enters an incorrect (but syntactically valid) email address he naturally does not receive the auto response. The mail presumably bounces, but not back to me. The sender and return path are:-
www@fama.uk.myhost.net
My question - what would be the effect if I include
print MAIL "Reply to: Webmaster\@mysite.co.uk\n";
i.e would it bounce failed deliveries back to that address?
This question may be a bit basic but I am not a programmer!
Thanks for any assistance!
A fragment of the script:-
# Open The Mail Program for auto acknowledgement #
open(MAIL,"|$mailprog -t");
print MAIL "From: Autoresponder\@mysite.co.uk\n";
print MAIL "To: $Config{'Email_Address'} ($Config{CustomerName'})\n";
The problem is that if the customer enters an incorrect (but syntactically valid) email address he naturally does not receive the auto response. The mail presumably bounces, but not back to me. The sender and return path are:-
www@fama.uk.myhost.net
My question - what would be the effect if I include
print MAIL "Reply to: Webmaster\@mysite.co.uk\n";
i.e would it bounce failed deliveries back to that address?
This question may be a bit basic but I am not a programmer!
Thanks for any assistance!