Send email with PHP script

DigitalHyper
2 Posts
DigitalHyper posted this 27 January 2022
Ask a Question

I have this working fine, however for the field that says "From".. how can you pull the email from the form to show up as the From when the email is sent via the form? Right now it says "from@site.com" as an example. But seems you could use code there to pull from the form itself so it comes through. Also I had the worst time getting reCAPTCHA to work.

I have this working fine, however for the field that says "From".. how can you pull the email from the form to show up as the From when the email is sent via the form? Right now it says "from@site.com" as an example. But seems you could use code there to pull from the form itself so it comes through. Also I had the worst time getting reCAPTCHA to work.
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 27 January 2022

Hi Jamie,

Thanks for contacting us

I have this working fine, however for the field that says "From".. how can you pull the email from the form to show up as the From when the email is sent via the form? Right now it says "from@site.com" as an example. But seems you could use code there to pull from the form itself so it comes through.

Please elaborate more on that and attach some screenshots for illustration purposes.

Also I had the worst time getting reCAPTCHA to work.

You can follow our guide for ReCaptcha integration.
https://nicepage.com/doc/61415/recaptcha-integration

Thank you
...................................................
Sincerely,
Ahmad M.
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 Jamie, Thanks for contacting us >I have this working fine, however for the field that says "From".. how can you pull the email from the form to show up as the From when the email is sent via the form? Right now it says "from@site.com" as an example. But seems you could use code there to pull from the form itself so it comes through. Please elaborate more on that and attach some screenshots for illustration purposes. >Also I had the worst time getting reCAPTCHA to work. You can follow our guide for ReCaptcha integration. https://nicepage.com/doc/61415/recaptcha-integration Thank you ................................................... Sincerely, Ahmad M. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
DigitalHyper
2 Posts
DigitalHyper posted this 27 January 2022

I've attached the issues. The first you see may be wishful thinking. I tried a few things that didn't work. Wasn't sure if there is a code to call for that form email or not.

The other issue with the reCAPTCHA.. I just couldn't get it to show. So I followed those steps in the link you posted. But the issue was I didn't know how to put it above or below the submit button. Like you have it on here.. below where it says Add Post, I want the same exact thing.. "I'm not a robot" reCAPTCHA. I just can't see to find out to add it. I prefer to stick with the PHP script for mailing too.. as the Contact Form 7 seems to jumble the form in the email instead of keeping it nice and clean.

Thanks

I've attached the issues. The first you see may be wishful thinking. I tried a few things that didn't work. Wasn't sure if there is a code to call for that form email or not. The other issue with the reCAPTCHA.. I just couldn't get it to show. So I followed those steps in the link you posted. But the issue was I didn't know how to put it above or below the submit button. Like you have it on here.. below where it says Add Post, I want the same exact thing.. "I'm not a robot" reCAPTCHA. I just can't see to find out to add it. I prefer to stick with the PHP script for mailing too.. as the Contact Form 7 seems to jumble the form in the email instead of keeping it nice and clean. Thanks
Support Team
Support Team posted this 28 January 2022

Hi Jamie,

https://resources.nicepage.com/451/70451/ExampleOfIssue.jpg

In the field From, you need to use the email, that the system will send emails From to >>> your email. And it must be related to your website domain name, info@mywebsite.com e.g.

https://resources.nicepage.com/452/70452/ExampleOfOtherIssue.jpg

If you set up the ReCaptcha correct you will see on your website, right down the corner, a small square where written recaptcha.
If you want "I'm not a robot" reCAPTCHA on your website, use third-party plugins for that.
...................................................
Sincerely,
Ahmad M.
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 Jamie, >https://resources.nicepage.com/451/70451/ExampleOfIssue.jpg In the field ***From***, you need to use the email, that the system will send emails From to >>> your email. And it must be related to your website domain name, info@mywebsite.com e.g. >https://resources.nicepage.com/452/70452/ExampleOfOtherIssue.jpg If you set up the ReCaptcha correct you will see on your website, right down the corner, a small square where written recaptcha. If you want "I'm not a robot" reCAPTCHA on your website, use third-party plugins for that. ................................................... Sincerely, Ahmad M. 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