Can PHPMailer send emails without configuring MacOS mail client on Monterey?
0
votes
0
answers
626
views
On a brand new Macbook running Monterey (M1), as PHP was removed by Apple on OS 12, I have removed all "AMP" preinstalled by Apple and installed HomeBrew "AMP" (with PHP 7.4), which is running perfectly.
Now, as I have setup Wordpress for testing purposes, I am attempting to use Wordpress WP_Mail function, which relies on PHPMailer, which in turn uses PHP Mail command. The latter relies on system specific libraries, and I am bit confused about configuring the correct facility, Mail, SendMail, Mailsend....
Digging the Internet, once upon a time you would achieve this through Postfix or eventually setting up an email account in the System settings for Mail.app , which I would like to avoid, as I only use web mail on browser and hate to have an email client accessing my account.........
In conclusion, on a Monterey M1 machine, Homebrew "AMP" scenario, is there a way to allow PHPMailer to work, avoiding using Mail.app account?
Asked by Riccardo
(283 rep)
Dec 18, 2021, 09:02 PM
Last activity: Dec 20, 2021, 08:50 AM
Last activity: Dec 20, 2021, 08:50 AM