最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

How do I troubleshoot registrationpassword email errors?

matteradmin6PV0评论

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

Post a comment

comment list (0)

  1. No comments so far