Found this article describing all the steps needed to make postfix send emails via Google's SMTP servers,
https://www.linode.com/docs/guides/configure-postfix-to-send-mail-using-gmail-and-google-workspace-on-debian-or-ubuntu/
or
https://devanswers.co/configure-postfix-to-use-gmail-smtp-on-ubuntu-16-04-digitalocean-droplet/
But the implementation on our server used the simpler PHPMailer method.
https://phppot.com/php/send-email-in-php-using-gmail-smtp/
One of the use cases was to alert when disk space reaches critically low levels - https://stackoverflow.com/questions/60264983/email-notification-when-disk-drive-reaches-a-certain-percentage-laravel
No comments:
Post a Comment