http://qs321.pair.com?node_id=191752

Foncé has asked for the wisdom of the Perl Monks concerning the following question:

I'm working with a fairly simple form mail script, but I have a few questions to which I cannot find answers. They are as follows:

1. When writing the mail, using commands like print MAIL "From: $fromaddy\n";, that particular one sets the from address, but print MAIL "Subject: $subject\n"; doesn't actually make it the subject of the email. How do I do that?

2. I can't get the user's real name to be the 'from', rather than the email address from which they sent. Not sure just how to do that without error.

3. Is there a particular way to send mail in HTML, or do I just put the tags in there with a print MAIL statement like everything else?

Thanks for the help! Foncé