I love the script and everyhting works fine, exept for the reply-adres. When i receive a mail submitted by someone using the formmail online. I can't hit reply direct because it doesn't reply to the provided emailadres. Is there a solution for it?
For example where variable $emailaddress is the Reply to address?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes.
By default your process.php file mail function looks like this:
mail("youremail@yourdomain.com","Form Submitted at your website",$message,"From: phpFormGenerator");
Note the From field. Change this to the reply email address you wish to use.
If you want it to be the submitter's address you will have to ad the variable name that holds this address.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you have a line in the process.php file that looks like this:
pt_register('POST','emailaddress');
then yes, your modification should work.
I'm not 100% sure about the double quotes, you may want to use single quotes. Let me know if you still have trouble. I can look at your process.php file and test the correct method before sending you the modification you need.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I love the script and everyhting works fine, exept for the reply-adres. When i receive a mail submitted by someone using the formmail online. I can't hit reply direct because it doesn't reply to the provided emailadres. Is there a solution for it?
For example where variable $emailaddress is the Reply to address?
Yes.
By default your process.php file mail function looks like this:
mail("youremail@yourdomain.com","Form Submitted at your website",$message,"From: phpFormGenerator");
Note the From field. Change this to the reply email address you wish to use.
If you want it to be the submitter's address you will have to ad the variable name that holds this address.
Okay i understand that, tried it as well, but iam not good with PHP. How do i put the variable in the from field?
mail("youremail@yourdomain.com","Form Submitted at your website",$message,"From: $emailaddress"); for example?
If you have a line in the process.php file that looks like this:
pt_register('POST','emailaddress');
then yes, your modification should work.
I'm not 100% sure about the double quotes, you may want to use single quotes. Let me know if you still have trouble. I can look at your process.php file and test the correct method before sending you the modification you need.
the 1 with double quotes works tnt...
Thanks for your valuable submissions, i use them a lot.