Hello. I'm rather new to using this script. It came as a free script included in my web hosting account. The script actually works fine by default. If I create a form using the wizard, the script will work and send the results to the email address I specified when creating the form. However, I have the need to modify the email address that the form sends results to. I have searched the forum, and believe that I found the meathod to do this (simply change the email address in the process.php file). When I make a change, I do not get results to a new email address (and I've tried several). Then I change back to the original email address I used when I created the form, and it will work again. Does this have something to do with certain permissions? I have made other modifications to the process.php file (adding an autoresponder section) and those modifications have worked with no problems. I just seem to have problems when I edit the email address that the form sends results to. Any help would be greatly appreciated. Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Alternate or multiple email addresses should not be a problem. I have done this personally and have seen many other posts regarding the same issue.
Examples:
mail("emailaddress_1",
mail("emailaddress_1,emailaddress_2",
You can search the web on "php mail function" to find exact syntax requirements for the mail() function. Look for results at php.net.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for replying to my post so quickly! What you suggested is actually what I tried. However, the script will only send emails when the original email address is entered back into the script. For example: I created the form to send results to email@form.com. Everything worked. I changed the email address to email2@form.com. I received no emails. I changed it again to email3@form.com. Again, no emails. Finally, I changed it back to email@form.com, and it worked again. All of the email accounts are working (I acutally added the autoresponse code that you posted and it works well), and I entered in the same email addresses into the form and received the autoresponse message. I just don't receive the form submission itself. It's very strange.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are going to have to look at server log files to determine why the other emails don't work. There is nothing in the script that prevents email from being sent as long as the mail() function syntax is correct.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello. I'm rather new to using this script. It came as a free script included in my web hosting account. The script actually works fine by default. If I create a form using the wizard, the script will work and send the results to the email address I specified when creating the form. However, I have the need to modify the email address that the form sends results to. I have searched the forum, and believe that I found the meathod to do this (simply change the email address in the process.php file). When I make a change, I do not get results to a new email address (and I've tried several). Then I change back to the original email address I used when I created the form, and it will work again. Does this have something to do with certain permissions? I have made other modifications to the process.php file (adding an autoresponder section) and those modifications have worked with no problems. I just seem to have problems when I edit the email address that the form sends results to. Any help would be greatly appreciated. Thank you!
Alternate or multiple email addresses should not be a problem. I have done this personally and have seen many other posts regarding the same issue.
Examples:
mail("emailaddress_1",
mail("emailaddress_1,emailaddress_2",
You can search the web on "php mail function" to find exact syntax requirements for the mail() function. Look for results at php.net.
Thank you for replying to my post so quickly! What you suggested is actually what I tried. However, the script will only send emails when the original email address is entered back into the script. For example: I created the form to send results to email@form.com. Everything worked. I changed the email address to email2@form.com. I received no emails. I changed it again to email3@form.com. Again, no emails. Finally, I changed it back to email@form.com, and it worked again. All of the email accounts are working (I acutally added the autoresponse code that you posted and it works well), and I entered in the same email addresses into the form and received the autoresponse message. I just don't receive the form submission itself. It's very strange.
You are going to have to look at server log files to determine why the other emails don't work. There is nothing in the script that prevents email from being sent as long as the mail() function syntax is correct.