Re: Form to email "from" field help needed
by matt-nc <ncmail(at)triad.rr.com>
|
Date: |
Mon, 25 Oct 2004 18:15:28 -0400 |
To: |
R & L Rasmussen <luddites(at)bellsouth.net>, hwg-techniques(at)hwg.org |
In-Reply-To: |
bellsouth |
|
todo: View
Thread,
Original
|
|
I'm using the NMS FormMail script (replacement for Matt's original).
To get the person's name to print out in the "From" field of the email, use:
<input class="form" type="text" name="realname". . .
(I suppose if you have them put their email address in the field named
"realname" then their email address would show up in the "From" field.)
To get the person's email address to automatically be inserted in the
"Address" field of an email that is generated when you hit Reply, use:
<input class="form" type="text" name="email". . .
One nice thing about the NMS FormMail script is that you can use aliases in
the web page and protect your email address from spambots. I have not
found a PHP FormMail that will do that.
Matt (not the original :-)
At 02:55 PM 10/25/04 -0400, you wrote:
>hello, I have been periodically using the nms form script upgrade to
>matt's original.
>I need help with one issue that is eluding me: what script entries
>(presumably within
>the form tags on the web page itself) do i include so that the form, when
>it's received,
>will include the person's email address *both* in the form and also in the
>"from" field of
>the email - before opening to view the form information? I get the email
>in the body of the form
>but when the form is received the "from" field displayed in the email
>client is empty.
>all help sincerely appreciated.
>tia, ralph rasmussen
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA