Update the cloud function to send PDF prescription via email.
VibhorKanojia opened this issue · 4 comments
VibhorKanojia commented
Update the cloud function to send PDF prescription via email.
VibhorKanojia commented
Upon generating the PDF, the function should send the PDF to
indiaeconsult.db@gmail.com,
patient's email ID (if provided)
doctor's email ID
gaurav-kay commented
Are we planning to use a delivery service like SendGrid or are we planning to send it from the function itself with nodemailer?
pbteja1998 commented
@gaurav-kay are there any advantages of using Send Grid? Is it a free service?
gaurav-kay commented
From what I've looked up, SMTP servers have limitations on setting the from address and the number of mails sent per day, which even SendGrid has but we can provide custom "from" addresses.
SendGrid has a free tier