Home › Forums › Support › Widget Support › Ratings & Reviews › Email form contents?
- AuthorPosts
Anonymous
June 19, 2018 at 11:07 pmPost count: 3#40643 |I am using this widget for one of my sites and it is doing everything that it should be doing. However, I was wanting to know if there is a way to email the contents of the form to a hardcoded email, I have gone into the php file and commented out the section that displays the form submission to the page (since some people leave horrible reviews thinking that it is funny) so I want to have all of the reviews emailed to me so I can manually upload them to my site instead. Do you know how and where in the php file I would be able to accomplish this? I have been going through the file looking at how AJAX is processing the information to see if I can create an action (when submit button is clicked) that emails the contents of the form. Any help would be greatly appreciated!
#40768 |Hi Duncan,
You could try to add a PHP mail() line of code around line 92, below the part:
if ($_GET["submitform"]) {
In that block is where the submission is saved.
I hope it helps!
- AuthorPosts
You must be logged in to reply to this topic.