I want to know if there is any shopify API to send email to Admin when the button is clicked.
This is not the contact form.
Just click the button I want to send Admin email with dynamic info on the page.
I can't find shopify API like mail() function in PHP.
Any help would be appreciated.
I don't think shopify provides such feature for security reasons. You may want to use third party email services to send emails to your customers
something similar has been discussed here (https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/is-it-possible-to-contact-a-customer-via-the-api-348969) and here (https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/send-email-to-customer-459191) in shopify forum.
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.