Had phpFormGen working great and just found out it stopped sending messages when my client changed their Email server to another provider. Go figure...
Can someone help outline where and how I need to change the code on phpFG to get it to work now? I know that the mail server has a different IP than the site, plus the DNS Zone file has also been altered to get this to work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you are working with pre-version 3 then the form process file is process.php. Version 3.0 has a form process file called processor.php.
In this file there is a line that starts with "mail(". The first argument is the "To:" field for sending email to the form administrator. Change this field to send email to another address.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you need change your php.ini file. The mail server address is specified there. Generally for webservers that also run a smtp server on the same machine have "localhost" set as the mail server in php.ini. You just need to change that to whatever the new IP of the mail server is.
This is not only for phpFormGenerator. It applies to all php programs that use the mail() function.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Had phpFormGen working great and just found out it stopped sending messages when my client changed their Email server to another provider. Go figure...
Can someone help outline where and how I need to change the code on phpFG to get it to work now? I know that the mail server has a different IP than the site, plus the DNS Zone file has also been altered to get this to work.
If you are working with pre-version 3 then the form process file is process.php. Version 3.0 has a form process file called processor.php.
In this file there is a line that starts with "mail(". The first argument is the "To:" field for sending email to the form administrator. Change this field to send email to another address.
you need change your php.ini file. The mail server address is specified there. Generally for webservers that also run a smtp server on the same machine have "localhost" set as the mail server in php.ini. You just need to change that to whatever the new IP of the mail server is.
This is not only for phpFormGenerator. It applies to all php programs that use the mail() function.