Setting from: (return/reply email) field using cpanel's formmail

norelidd

Well-Known Member
Jan 15, 2007
173
1
168
I just replaced a user's buggy contact form script with cpanel's formmail clone script. Her previous script would use the form-filler's email address as the from: field in the email she would get from the script, enabling her to simply reply to the email to contact the form-filler.

Currently cpanel's formmail clone sends mail as "[email protected]"

Can this be changed to use the form-filler's email as the from: field?
 

norelidd

Well-Known Member
Jan 15, 2007
173
1
168
I think I figured it out. THe old formmail had this for the email field

Code:
<INPUT NAME="From_Email" TYPE="text" SIZE=32 VALUE="">
and formmail clone wants

Code:
<input type=text name="email">
 

scorpio1

Member
Oct 16, 2005
6
0
151
formmail clone sends mail as "[email protected]"

Hi, I understand that the 'email' field of the formmail script is designed to receive the email address of the form-filler. But how does one change the 'FROM:' address of the mailed form, which currently defaults to "[email protected]"?

i.e., the form get sent to the 'receipient' and the 'email' addresses but the From: field has "[email protected]" and I cannot see how to modify that. THis is not mentioned in the FormMail documentation as far as I can see.

Any ideas?

Thanks