Black Friday Sale! Save up to 50% off!

How do I set up the email sending for the contact form to use PHP? Also, I added two fields to the form: phone and date. How do I include them?

luiscarlosh
13 Posts
luiscarlosh posted this 17 September 2024
Ask a Question

How do I set up the email sending for the contact form to use PHP? Also, I added two fields to the form: phone and date. How do I include them?"

I don't see the sending options menu that includes PHP

How do I set up the email sending for the contact form to use PHP? Also, I added two fields to the form: phone and date. How do I include them?" I don't see the sending options menu that includes PHP

Last edited 17 September 2024 by luiscarlosh

Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 18 September 2024

Hello Luis,

Please also note that "Send Email with PHP script" is a server-side task and we cannot configure that, this option requires the server where you upload the websites, to be configured to send emails with PHP sendmail function. Nicepage hosting has no such option enabled, you cannot add it with Online Builder, only with desktop application and export your site to HTML.

Please check our recommendations about the server settings here:
https://nicepage.com/doc/62334/send-emails-with-php-script
The Form should be tested with a published page so the server can execute the script.
The email address Where to send mentioned in the Contact form desktop application settings should be the same (or redirect) as the one your domain is hosted on.

You can troubleshoot form submission by following this article:
https://nicepage.com/doc/218739/contact-form-submission

...................................................
Sincerely,
Anna.
Nicepage Support Team

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

Hello Luis, Please also note that "Send Email with PHP script" is a server-side task and we cannot configure that, this option requires the server where you upload the websites, to be configured to send emails with PHP sendmail function. Nicepage hosting has no such option enabled, you cannot add it with Online Builder, only with desktop application and export your site to HTML. Please check our recommendations about the server settings here: https://nicepage.com/doc/62334/send-emails-with-php-script The Form should be tested with a published page so the server can execute the script. The email address Where to send mentioned in the Contact form desktop application settings should be the same (or redirect) as the one your domain is hosted on. You can troubleshoot form submission by following this article: https://nicepage.com/doc/218739/contact-form-submission ................................................... Sincerely, Anna. 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