send email from php in azure app service(unix)

wb 1 Reputation point
2021-03-12T08:29:13.4+00:00

May I know how to send email from php in azure app service(unix)

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    2021-03-12T13:40:52.397+00:00

    @wb , Based on your requirement, you could use Azure Logic Apps or SendGrid.

    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

    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

    Also, see this information - 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)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.