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é
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é
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Form mail script
by neilwatson (Priest) on Aug 21, 2002 at 15:54 UTC | |
OT: E is for EVIL-mail (HTML)
by BorgCopyeditor (Friar) on Aug 21, 2002 at 18:44 UTC | |
Re: Form mail script
by LTjake (Prior) on Aug 21, 2002 at 16:50 UTC | |
Re: Form mail script
by Tomte (Priest) on Aug 21, 2002 at 15:51 UTC | |
Re: Form mail script
by bart (Canon) on Aug 21, 2002 at 17:05 UTC | |
Re: Form mail script
by screamingeagle (Curate) on Aug 21, 2002 at 15:58 UTC | |
Re: Form mail script
by Foncé (Scribe) on Aug 22, 2002 at 03:50 UTC |
Back to
Seekers of Perl Wisdom