SMTP working !!!! Filed Under: News
After a long battle (not continuously trying to fix it as I looked in to it for a 1 hour one day and then left it for a few months) I managed to get WordPress to send emails.
It really frustrated me because I was able to send emails to the outside using normal sendmail (I telnet to localhost in port 25 🙂 ). But I don’t know why it wouldn’t work from php and the mail() function.
I had a look around the net and most people where implementing mini_sendmail (chroot version). I tried their instructions in various websites (the same command in every website) but I didn’t have any luck (I probably was missing something) so while looking around I found this amazing, wonderful plugin for WordPress that has save my life. The plugin is wpPHPMailer.
The function of this plugin is to use PHPMailer to contact an SMTP server rather than using the mail() function in PHP. At the moment everything is working (just tested creating a new user and it received the email with the password).
- Permalink
- Alberto Diaz
- 10 Jan 2008 6:25 PM
- Comments (0)