Nov 08 2019 03:09 PM
I want to install PHPMailer (https://github.com/PHPMailer/PHPMailer) in Azure Web App in order to send message to my SMTP server from my php app uploaded to Azure Web App. All emails will be sent to single SMTP host. Is it possible to install PHPMailer to Azure Web App?
Nov 13 2019 04:58 PM
@Pawel Partyka, as far as I know, Microsoft restricts using smtp on Azure and the best recomendation is to use one of the managed solutions offered by the platform such as send grid. Although if you run a subscription on production, you might find interesting following this doc: https://docs.microsoft.com/en-us/azure/virtual-network/troubleshoot-outbound-smtp-connectivity#recom...
Concerning the application itself, i don't see you having any problems on deploying it.
Nov 17 2019 06:55 PM
Just agreeing with @Carlos Oliveira on this one. I would recommend using the managed SendGrid service. You can send up to 25,000 emails / free / mo. and we've had a lot of success using it. We've also sent using Office 365 SMTP. I personally haven't used PHPMailer, but you're likely going to run into a few roadblocks sending directly through an App Service on the SMTP port(s).