Send an email to specific adress when button is clicked?

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!

Read more here:: Send an email to specific adress when button is clicked?

Leave a Reply

Your email address will not be published. Required fields are marked *