Focuses on API authentication, access scopes, and permission management.
Hey there,
I'm developing a Shopify app and need advice on sending emails through it using the store owner's email as the "from" address. I'm using Node.js, and while I've considered fetching the store owner's email via the Shopify API, I'm unsure what to put in Shopify "user", "pass" and "host" field in Nodemailer.
Can anyone provide any information on how I can acheive this?
Thanks a bunch!
Hi Arslan,
You may need to use a separate SMTP server to send emails with the "from" address being the store owners email, so you could set up your own settings for the password, host, etc. Another option you could try would be to use Shopify Email?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
I've written a program that adds shopify store credit to a customers account based on their spending habits, source and email subscriptions status. I'd like to notify them when their balance changes. (ie have been awarded credits) can I set up a shopify email template (with liquid if needed) and then use the same API that adds the credits to fire the email?