最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How do I troubleshoot registrationpassword email errors?

programmeradmin2浏览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).

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).

Share Improve this question asked Nov 2, 2010 at 9:41 gillespiezagillespieza 1,2855 gold badges26 silver badges46 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 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().

发布评论

评论列表(0)

  1. 暂无评论