Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
@IT_DrKaako , Just checking in to see if the previous response helped answer your question. Kindly let us know if you have any further questions on this specific topic, we would be more than happy to assist you.
Just adding to DavidWarwick-6573’s response. Based on your requirement, you could also leverage Azure Logic Apps.
It is recommended that you use authenticated SMTP relay services to send email from Azure VMs or from Azure App Service (in your case). (These relay services typically connect through TCP port 587, but they support other ports. As David mentioned, SengGrid is one such service.
--Using these email delivery services isn't restricted in Azure, regardless of the subscription type.
You could send emails with Gmail from your App Service app by using Azure Logic Apps. Logic Apps brings a lot more power to your App Service app without adding complexity to your code.
Tutorial: Send email and invoke other business processes from App Service
Refer this doc -Recommended method of sending email
Additionally -
This guide demonstrates how to perform common programming tasks with the SendGrid email service on Azure. The samples are written in PHP. The scenarios covered include constructing email, sending email, and adding attachments.
How to Use the SendGrid Email Service from PHP
Also, This is a Proof of Concept to send email using the PHP Mailer library and Office 365.
Send email on App Service using Office 365 (O365)
-------
To benefit the community find the right answers, please do mark the post which was helpful by clicking on ‘Accept Answer’ & ‘Up-Vote’.