Setting up ubuntu to send mail from PHPMailer
You guess right, you have to configure something as stated in the Readme :
The PHP mail() function usually sends via a local mail server, typically fronted by a
sendmail
binary on Linux, BSD and OS X platforms
You should install and configure sendmail
, but how to do this would be a full other question.
However you could find this interesting.
Related videos on Youtube
codeninja
26, Software Engineer based in Honduras. Cloud and DevOps enthusiast, Docker evangelist, web developer freelancer. Been in the business for about 5 years and have handled a bit of everything. SOReadyToHelp
Updated on September 18, 2022Comments
-
codeninja over 1 year
I have a small server, inside the company where I work, which has an app that needs to send email to notify users for different reasons.
I'm using PHPMailer to do this. But as I suspected, I need to configure something. And by something I mean probably an SMPT or iMAP or I don't really know what to do. Anyone knows what can I do to send mail with PHPMailer?
Thanks in advance!