0

I moved the blog I was working on from my development server (on DreamHost) to the client's server (some local host which they are unwilling to switch from). Everything seems to be working perfectly, except that users are not receiving their new user confirmation emails, or their lost password emails.

I have Contact Form 7 installed, and that sends emails out perfectly, so I know the server is set up to send mail successfully.

I have checked that I have the correct email address in General Settings and in the User Settings.

I have tested a simple mail() script on the server, and that sends just fine:

<?php $message = "Line 1\nLine 2\nLine 3"; $message = wordwrap($message, 70); mail('[email protected]', 'My Subject', $message); ?>

PHP version is 5.2.6-1+lenny9

Where do I even begin with this? My google-fu is not strong today (I get a bunch of crappy posts that don't actually help)... I'd prefer not to have to resort to a plugin to fix this (although I'm happy to use a plugin to temporarily troubleshoot, if necessary).

1 Answer 1

2

Have you checked that wp_mail() works properly? CF7 might be using its own custom SMTP interface or something like that, to work around issues in wp_mail().

2
  • 1
    wp_mail() is not working... but thats a start, at least - I can narrow my fruitless google search down some, now :). SMTP is set to localhost (WP database is not on localhost, if that makes a difference?), and smtp_port is 25. sendmail_from has no value. Maybe thats the problem there... Nov 2, 2010 at 12:57
  • Aha - yes, thank you. Specifying sendmail_from made it work. Thanks so much... Nov 2, 2010 at 13:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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