Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.