Send an email to specific adress when button is clicked?

Question

I have created a custom page template with a search function, this search function shows posts, and I want to create a button on each post that when it is clicked will send an email to the author of the post the_author_email();

I am trying to figure out how to do this. I want to be able to have the email sent without the page reloading, is this possible?

Thank you!

0
joq3 4 months 0 Answers 12 views 0

Leave an answer