Hi, I need some enlightenment. I have uploaded the script to my server at 000webhost, when i test my forms the default email sent to the user is always phpFormGenerator@srvXX.000webhost.com, I like to know how can I change this to my own domain email address. Can anyone help? Thanks.
Kent
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First let me warn you that setting an email address to something other than what the host supports can be considered SPAM by some filters. You are welcome to change it to anything you like but this does sometimes mean that some of your messages will not reach the intended recipient.
Hi, I need some enlightenment. I have uploaded the script to my server at 000webhost, when i test my forms the default email sent to the user is always phpFormGenerator@srvXX.000webhost.com, I like to know how can I change this to my own domain email address. Can anyone help? Thanks.
Kent
First let me warn you that setting an email address to something other than what the host supports can be considered SPAM by some filters. You are welcome to change it to anything you like but this does sometimes mean that some of your messages will not reach the intended recipient.
See the following web site for suggestions on changing the "From:" setting in your email.
http://www.w3schools.com/PHP/php_mail.asp