I have a php script on a remote that is using PHPMailer in order to deliver mail.

I have now acquired a VPS, and I want it to act as SMTP server, so that phpmailer connects to this CentOS VPS and not localhost, in order to send the emails to the recipients.

Is that possible? thanks.


Sure, just setup and configure sendmail or another mailer.

  • that is actually a challenge. I just can't get any of these "mailers" working properly. postfix rejects the relay, sendmail refuses to accept connections on port 25 :( – develroot Dec 23 '12 at 17:00
  • sounds like you need to do a little more research and troubleshooting here. – mdpc Dec 23 '12 at 17:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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