Im having azure function app with app service plan and I use python as programming lang. How can I send email from Azure functions… Is that possible with app service plan or do I need to choose third party services like "twilio grid" or please suggest the possibilities….
2
Answers
The easiest way is to use twilio sendgrid as it integrates very nicely with Azure Functions as an output binding using the SendGrid extension.
You can then create a function like
See the docs for more details and the blogpost on twilio. There is a free plan to get started.
Using the Office 365 SMTP relay and Microsoft Graph API are also great options if you already have an Office 365 subscription. But it requires you to write the code yourself as there is no out-of-the box output binding.
yes, you need to use
Twilio SendGrid
to send emails from azure functions. Alternatively, you can also switch to logic apps which provide many connectors including the one to send the mailsREFERENCES: