Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: CGI recipient Option

by iburrell (Chaplain)
on Sep 01, 2004 at 18:30 UTC ( [id://387638] : note . print w/replies, xml ) Need Help??


in reply to CGI recipient Option

BTW, I am surprised that the email works. You don't have a blank line between the header and the body. It should be:
print MAIL "Content-Transfer-Encoding: 7bit\n"; print MAIL "\n"; print MAIL "<html><head>\n";
And the From: and the Reply-To: lines are probably not formatted correctly. They should look like:
Reply-to: Some Name <some@address> From: Some Name <some@address>