PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I've set-up an email form that sends variables to the attached PHP script. The message is sent OK. The only problem is the "Reply-To" feature. When I click Reply in my email account on receipt of a message sent via the form the address in the 'Reply' field of my email is X-Mailer: PHP/4.3.11@linhost199.prod.mesa1.secureserver.net rather than the email address contained in the $yourname variable.
Any ideas about what I'm doing wrong? I've tried swapping the order of the headers around a bit but it doesn't seem to solve the problem.
Everah wrote:Where are you setting the vars that are inside the body of the script? Have you echoed those out to make sure they contain data?
Hi,
I'm setting the variables in a form in a Flash .swf file. It works - when someone uses the form I receive an email with all the variables completed. The only problem is the 'Reply-To' element of the PHP script that doesn't seem to work. As I said, when I receive an email via the form and click Reply the Reply-To address is X-Mailer: PHP/4.3.11@linhost199.prod.mesa1.secureserver.net rather than the email address contained in the $yourname variable.