Send email in Shopify app with Shopify store owner email address

Arslan_Anjum
Shopify Partner
1 0 0

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!

Reply 1 (1)

Liam
Shopify Staff
2731 299 769

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