When mail is sent out from a CGI or PHP script or from a FrontPage Form, the from address is always [email protected]
For Example:
Say my domain is hotep.com, and my username is amon
I setup a mailer script to use sendmail.
There are three fields on the form: subject, returnemailaddress, message
The form is setup to fill the From: field with the value in returnemailaddress.
So lets say the data is this (Cool Site, [email protected], Where did you get the sarcophagus?)
The emails I am recieving have the correct Subject and message area filled out, but the From field ALWAYS says [email protected] instead of [email protected]
This also happens if I use a frontpage form and assign the from field to a field on the form.
How do I fix this?
For Example:
Say my domain is hotep.com, and my username is amon
I setup a mailer script to use sendmail.
There are three fields on the form: subject, returnemailaddress, message
The form is setup to fill the From: field with the value in returnemailaddress.
So lets say the data is this (Cool Site, [email protected], Where did you get the sarcophagus?)
The emails I am recieving have the correct Subject and message area filled out, but the From field ALWAYS says [email protected] instead of [email protected]
This also happens if I use a frontpage form and assign the from field to a field on the form.
How do I fix this?