A new email PHP problem

lawson
31 Posts
lawson posted this 27 January 2021
Ask a Question

Hmmm. Short and simple.
- Using Nicepage form on an html website hosted with GoDaddy.
- Chose "Send Email with PHP Script" option.
- Put my email address in both fields "where to send submissions" and "from" fields.
- Not getting emails.
- Checked Spam and no email anywhere.
- The "script" folder for the website has 3 scripts (form-a52d.php, form-diagnostics.php, and form processor.php.
There is an error log that has one line that reads: [25-Jan-2021 13:16:21 UTC] PHP Notice: Undefined index: format in /home/yedicpanel1/public_html/lacrosseapartmentsofbossier.com/scripts/FormProcessor.php on line 88
- This is line 88 in the FormProcessor.php file: array_push($errors, array('field' => $field, 'message' => $properties['errors']['format']));

So, I've kind of run out of places to look or threads to follow. I had the email going to the customer at an aol.com email address. They said they checked their spam file, but I don't trust people, so I changed the email to mine to troubleshoot, and I'm finding nothing either.

Can you help?

This is the website: https://lacrosseapartmentsofbossier.com

I'll include the project zip for you as well.

I think I've covered all the bases. Thanks.

Lawson

Hmmm. Short and simple. - Using Nicepage form on an html website hosted with GoDaddy. - Chose "Send Email with PHP Script" option. - Put my email address in both fields "where to send submissions" and "from" fields. - Not getting emails. - Checked Spam and no email anywhere. - The "script" folder for the website has 3 scripts (form-a52d.php, form-diagnostics.php, and form processor.php. There is an error log that has one line that reads: [25-Jan-2021 13:16:21 UTC] PHP Notice: Undefined index: format in /home/yedicpanel1/public_html/lacrosseapartmentsofbossier.com/scripts/FormProcessor.php on line 88 - This is line 88 in the FormProcessor.php file: array_push($errors, array('field' => $field, 'message' => $properties['errors']['format'])); So, I've kind of run out of places to look or threads to follow. I had the email going to the customer at an aol.com email address. They said they checked their spam file, but I don't trust people, so I changed the email to mine to troubleshoot, and I'm finding nothing either. Can you help? This is the website: https://lacrosseapartmentsofbossier.com I'll include the project zip for you as well. I think I've covered all the bases. Thanks. Lawson
Vote to pay developers attention to this features or issue.
13 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 27 January 2021

Hi Lawson,

This is not an error but a Notice. It should not affect anything. The email should be sent if the server is configured to send emails. Did you test send email functionality on this server previously?

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Lawson, This is not an error but a Notice. It should not affect anything. The email should be sent if the server is configured to send emails. Did you test send email functionality on this server previously? ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
lawson
31 Posts
lawson posted this 27 January 2021

I'll confirm, but I do believe other domains are working. I have a C-Panel account from GoDaddy and host all websites from the same account and likely server, so I don't think the server is the problem. If you have some way for me to test it I can give it a try, or if there is something I can share with godaddy to confirm things are working I would be glad to follow that.

Also, can I have the submitted form go to more than one email address?

I have confirmed that another of my customers is getting submissions. I'm uploading a new version of my own website including a form so I can test that as well. I"ll update when I learn more. But for whatever reason Bossier is not working. They had an aol.com address so I changed it to mine so I could monitor spam but I got nothing from Bossier either.

My website will have my email. I'll see how it goes.

I'll confirm, but I do believe other domains are working. I have a C-Panel account from GoDaddy and host all websites from the same account and likely server, so I don't think the server is the problem. If you have some way for me to test it I can give it a try, or if there is something I can share with godaddy to confirm things are working I would be glad to follow that. Also, can I have the submitted form go to more than one email address? I have confirmed that another of my customers is getting submissions. I'm uploading a new version of my own website including a form so I can test that as well. I"ll update when I learn more. But for whatever reason Bossier is not working. They had an aol.com address so I changed it to mine so I could monitor spam but I got nothing from Bossier either. My website will have my email. I'll see how it goes.
lawson
31 Posts
lawson posted this 28 January 2021

I have confirmed that one website form works and the other doesn't. I could take it a step further and use the same email address for both to rule out the different email addresses. The Wichita form goes to lacrosseofwichita@gmail.com. The Bossier email was going to Lacrossapt@aol.com, but they were not getting the emails. I changed the Bossier form email to lawson@lawsonphillips.com, but that isn't working either. I also uploaded lawsonphillips.com and created a form that goes to lawson@lawsonphillips.com, but it isn't working either. So only the gmail email addresses work? Not sure that makes sense. I could change the Bossier form email to lacrosseofwichita@gmail.com to see if that accomplishes anything. I'll attach the zip files for the 3 websites if that helps. I did check with one other client to see if they were getting form submissions and he was, but he is also gmail.

All of these domains are hosted on the same godaddy account in the same folder. I'm not sure if this is a private discussion so I won't attach the project files in this response, but if you like I can reply with all the files if that helps.

I have confirmed that one website form works and the other doesn't. I could take it a step further and use the same email address for both to rule out the different email addresses. The Wichita form goes to lacrosseofwichita@gmail.com. The Bossier email was going to Lacrossapt@aol.com, but they were not getting the emails. I changed the Bossier form email to lawson@lawsonphillips.com, but that isn't working either. I also uploaded lawsonphillips.com and created a form that goes to lawson@lawsonphillips.com, but it isn't working either. So only the gmail email addresses work? Not sure that makes sense. I could change the Bossier form email to lacrosseofwichita@gmail.com to see if that accomplishes anything. I'll attach the zip files for the 3 websites if that helps. I did check with one other client to see if they were getting form submissions and he was, but he is also gmail. All of these domains are hosted on the same godaddy account in the same folder. I'm not sure if this is a private discussion so I won't attach the project files in this response, but if you like I can reply with all the files if that helps.
Support Team
Support Team posted this 29 January 2021

Hi,

From the Nicepage side, it is impossible to say why the email cannot be sent. The Nicepage Form itself, as well as the script, do not send an email. Nicepage script does not support SMTP sending. Therefore, everything should be configured on the server. In this case, we recommend that you contact the hosting provider regarding this issue. We tested this script on our test server, and it works ok.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi, From the Nicepage side, it is impossible to say why the email cannot be sent. The Nicepage Form itself, as well as the script, do not send an email. Nicepage script does not support SMTP sending. Therefore, everything should be configured on the server. In this case, we recommend that you contact the hosting provider regarding this issue. We tested this script on our test server, and it works ok. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
lawson
31 Posts
lawson posted this 29 January 2021

I'll follow up with GoDaddy. If there is anything you think might be helpful in tracking this down, please let me know. Perhaps a version of PHP? Anything you can offer would be helpful. Thanks.

I'll follow up with GoDaddy. If there is anything you think might be helpful in tracking this down, please let me know. Perhaps a version of PHP? Anything you can offer would be helpful. Thanks.
Support Team
Support Team posted this 01 February 2021

Lawson,

You should have correctly configured PHP with sendmail.
To test this you can use the script located here (for example).
https://conetix.com.au/support/simple-php-mail-test/

...................................................
Sincerely,
Sergey F
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Lawson, You should have correctly configured PHP with sendmail. To test this you can use the script located here (for example). https://conetix.com.au/support/simple-php-mail-test/ ................................................... Sincerely, Sergey F Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
lawson
31 Posts
lawson posted this 08 February 2021

If you are referring to "Send Email with PHP Script" menu item under "Form," then that is where I am entering the email address. I have narrowed something down after testing multiple website and a couple customers.
The website https://doorsandmoreconstructionservices.com uses a gmail email account which works.
The website https://lacrosseapartmentsofwichita.com uses gmail lacrosseofwichita@gmail.com

The website https://lacrosseapartmentsofbossier.com was using lacrossapt@aol.com
The website http://lawsonphillips.com I was using my godaddy email address of lawson@lawsonphillips.com

The bottom two forms were not working. The top two were. When I changed the bottom two email addresses to lacrosseofwichita@gmail.com, the forms would work. So for some reason the script works for a gmail account although it goes to junk mail and gives a warning, which at least they get the form submission. The aol and the domain specific email addresses get no response. I don't have access to the aol account, but I asked for them to check junk and spam mail and they reported it wasn't there. I checked my email address at lawsonphillips.com and know for sure that no form submission arrived in any mailbox.

I still need to follow up with Godaddy, but I have a hunch they are not going to take ownership of the problem which leaves me with no solution. I'll follow up with the link you sent above and see if that helps. I thought perhaps knowing that the website seems to be setup correctly and the problem seems to relate to certain email forms like gmail vs aol vs personal domains.

If you are referring to "Send Email with PHP Script" menu item under "Form," then that is where I am entering the email address. I have narrowed something down after testing multiple website and a couple customers. The website https://doorsandmoreconstructionservices.com uses a gmail email account which works. The website https://lacrosseapartmentsofwichita.com uses gmail lacrosseofwichita@gmail.com The website https://lacrosseapartmentsofbossier.com was using lacrossapt@aol.com The website http://lawsonphillips.com I was using my godaddy email address of lawson@lawsonphillips.com The bottom two forms were not working. The top two were. When I changed the bottom two email addresses to lacrosseofwichita@gmail.com, the forms would work. So for some reason the script works for a gmail account although it goes to junk mail and gives a warning, which at least they get the form submission. The aol and the domain specific email addresses get no response. I don't have access to the aol account, but I asked for them to check junk and spam mail and they reported it wasn't there. I checked my email address at lawsonphillips.com and know for sure that no form submission arrived in any mailbox. I still need to follow up with Godaddy, but I have a hunch they are not going to take ownership of the problem which leaves me with no solution. I'll follow up with the link you sent above and see if that helps. I thought perhaps knowing that the website seems to be setup correctly and the problem seems to relate to certain email forms like gmail vs aol vs personal domains.
lawson
31 Posts
lawson posted this 08 February 2021

By the way, I am not using Joomla, I am just creating an html page. I notice the link you sent above was initially referring to Word Press and CMS websites.

By the way, I am not using Joomla, I am just creating an html page. I notice the link you sent above was initially referring to Word Press and CMS websites.
lawson
31 Posts
lawson posted this 09 February 2021

I have attempted to use the script from the link you provided. I tried using two different email addresses with no luck. I am not certain that I was implementing the test correctly, but this is what I did. I copied the script and put my email address in the from and to fields.

I uploaded the php file that I have pasted below in my root folder of the domain lawson@lawsonphillips.com. Then I went to the following web address: http://lawsonphillips.com/test-email.php Once I entered that address I was created with the message "test email sent," so it appears to be working? The downside is that I did not receive an email. I tried to do the same with a gmail address of a friend of mine and still no email. Other gmail accounts had worked and I thought perhaps one of the addresses would work, but no luck.

Just an update. The script is below. This is an html website, not a CMS.

<?php ini_set( 'display_errors', 1 ); error_reporting( e_all ); $from ; $to ; $subject ; $message ; $headers . $from; mail($to,$subject,$message, $headers); echo "test email sent"; i had to remove the last (?>) to show the script.

I have attempted to use the script from the link you provided. I tried using two different email addresses with no luck. I am not certain that I was implementing the test correctly, but this is what I did. I copied the script and put my email address in the from and to fields. I uploaded the php file that I have pasted below in my root folder of the domain lawson@lawsonphillips.com. Then I went to the following web address: http://lawsonphillips.com/test-email.php Once I entered that address I was created with the message "test email sent," so it appears to be working? The downside is that I did not receive an email. I tried to do the same with a gmail address of a friend of mine and still no email. Other gmail accounts had worked and I thought perhaps one of the addresses would work, but no luck. Just an update. The script is below. This is an html website, not a CMS. &lt;?php ini_set( &#39;display_errors&#39;, 1 ); error_reporting( e_all ); $from ; $to ; $subject ; $message ; $headers . $from; mail($to,$subject,$message, $headers); echo &quot;test email sent&quot;; i had to remove the last (?&gt;) to show the script.
lawson
31 Posts
lawson posted this 09 February 2021

Well, I hope you read this from the bottom up. The solution was....

With GoDaddy's Deluxe Linux Hosting Plan I am using a shared server.

By upgrading my account to Enhanced Business Hosting using a VPS I am able to use the email scripts with no problem. This will also solve the problem that I posted with gmail php messages that were scaring my clients.

So, now we know the problem. The guy I was talking to didn't think there was anything you could do with the code to fix the problem. He was good with php and did a little research and was able to solve all the problems for a mere $500 extra over the next 3 years. Lol.

Anyway, problem should be solved in the next 24-48 hours.

Well, I hope you read this from the bottom up. The solution was.... With GoDaddy's Deluxe Linux Hosting Plan I am using a shared server. By upgrading my account to Enhanced Business Hosting using a VPS I am able to use the email scripts with no problem. This will also solve the problem that I posted with gmail php messages that were scaring my clients. So, now we know the problem. The guy I was talking to didn't think there was anything you could do with the code to fix the problem. He was good with php and did a little research and was able to solve all the problems for a mere $500 extra over the next 3 years. Lol. Anyway, problem should be solved in the next 24-48 hours.
Support Team
Support Team posted this 10 February 2021

Hi Lawson,

Nice to hear that you have found the cause of the issue. I hope that everything is fine now. Feel free to contact us on any occasion.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Lawson, Nice to hear that you have found the cause of the issue. I hope that everything is fine now. Feel free to contact us on any occasion. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
lawson
31 Posts
lawson posted this 10 February 2021

Well, not quite complete, but they claim this is the solution. Still testing and working to resolve, but at least I have someone engaged who believes its a matter of a few server settings, but hoping for the best.

Well, not quite complete, but they claim this is the solution. Still testing and working to resolve, but at least I have someone engaged who believes its a matter of a few server settings, but hoping for the best.
Support Team
Support Team posted this 11 February 2021

Hi Lawson,

I hope it will be fixed soon, good luck!

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Lawson, I hope it will be fixed soon, good luck! ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments