2
I have an Ubuntu (LAMP) server and I need to send emails via PHP, but using my gmail account, I don’t want to have an email server of my own. I need to define one of the two ways below to do this:
1- Install postfix to redirect to my gmail account and use the native function mail() of PHP.
2- Use a PHP library such as Phpmailer to email using my gmail account.
Doubt:
Which option would an experienced professional use? Because?