The default line in the forms/process.php that send to an email address, provides a subject and a return address looks like this: mail("ali@pcmac.org","Form Submitted at your website",$message,"From: phpFormGenerator");
When testing this I get an email from "phpFormGenerator@barrier.vosn.net", when I edit that line with plain text to: ,"From: Feedback"); - everything works well.
When I try to include a variable in that line like: ,"From: ", $emailaddress); - it does not work. I searched and could not find where the darn default email address is being appended from. Can someone please explain how the default email address in getting in there and how I would change it to my OWN email address???
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The default line in the forms/process.php that send to an email address, provides a subject and a return address looks like this: mail("ali@pcmac.org","Form Submitted at your website",$message,"From: phpFormGenerator");
When testing this I get an email from "phpFormGenerator@barrier.vosn.net", when I edit that line with plain text to: ,"From: Feedback"); - everything works well.
When I try to include a variable in that line like: ,"From: ", $emailaddress); - it does not work. I searched and could not find where the darn default email address is being appended from. Can someone please explain how the default email address in getting in there and how I would change it to my OWN email address???
Thanks!