Is there any way to use the email function in php on app platform?
As far as I can tell there is no way to access root priveleges to install ssmtp or sendmail. Is it possible to do that with build & run commands?
I don't believe that you can get root access, but if you are using a Dockerfile you could specify the install commands in there.
However, I would not really recommend sending emails via plain PHP mail.
DigitalOcean App Platform