How does WP send the user registration email?
-
WP isn’t sending emails (although it says it is) when I create test users to inform them of the password. My mailbox is empty but WP doesn’t complain about not being able to send it. As my box has the minimum services running, is there a requirement for WP to use sendmail or exim or does it handle contacting the remote smpt server itself?
Please help!
Thanks.
-
Same problem here.
WP 2.0.4 and I can
t register new user. Can
t receive registration mail.I try to modify the function.php but no mail ??
Do the people of wordpress know their latest stable build does not have a wp_mail() function in the functions.php file?
Cause without that function (seems that’s not the only thing they changed that has to do with mail) the whole program is quite useless (sorry to say it that way, but that’s kind of… the truth)You need to look in pluggable-functions.php, wp-mail is in there. Since this thread started a year ago there have been a number of upgrades since then so some of the earlier help may be out of date. The registration emails are not working for me either at the moment, but I’ve just installed 2.0.4. If I get it going I’ll let you know.
You asked about crystaltech, I’m hosted there as well. Seems that sendmail functionality is not available on their Windows Boxes. They recommend use of Blat.exe which is installed and supported. This may be the case for other Windows Hosts? Calling Blat from within PHP is a bit beyond my coding capabilities so I’m out of ideas. Really need a developer guy on the case…
This is weird. I can’t send out confirmation emails to new users. But, the Subscribe2 plug-in works just fine. It sends confirmation email and notifications of new posts. I’ve turned off user registration for now, so that my customers can leave comments. But, I’d love to get this fixed to keep spam to a minimum.
XPertMailer is the new solution for sending e-mails using php. With XPM2 you can send e-mails to inbox ( FromHost() ) and all you need it is a complete documentation for XPM2: https://www.xpertmailer.com/DOCUMENTATION
XPertMailer it is the first php class that can send e-mails via a Relay SMTP Server with autentication and TLS/SSL connection. If you can’t delivery the e-mail using mail() function then you have two options like ‘Relay’ or directly to the ‘Client’. Enjoy ??How I got WordPress email to work!
I have a Windows dedicated server, running Windows Server 2003 Standard Edition. I just installed WordPress on that box, version 2.0.4. After installing WP, I could “register” but no email with the password was sent out. I have spent the better part of five days fiddling around with this and finally got it to work! Here’s what I did:
1. Use the wpPHPMailer plugin for WordPress instead of fooling around with sendmail. You can download it from here:
https://www.coffee2code.com/archives/2004/06/28/plugin-wpphpmailer/
Follow the installation instructions carefully. I did not need to change “mail()” call to “phpmailer()” in wp-login.php for password retrieval. I tried it both ways and it made no difference.2. Key ingredient: Go to Start, Programs, Administrative Tools, Internet Information Services. Expand your local computer. There should be an icon there for Default SMTP Virtual Server. Right-click that and select Properties. Click Access at the top menu. Click Relay. Check “Only the list below” and “Allow all computers which successfully authenticate to relay, regardless of the list above.” Click Add. Enter the i.p. address of your site. Click OK, OK, and OK. Close the IIS Manager, now. This part is done!
To set up SMTP on the box, I had to go to Start, Settings, Control Panel, Add or Remove Programs. Click “Add/Remove Windows Components.” Check “E-mail services”. This will install the SMTP and the POP3 services; you’ll need both. Click Next, wait while it installs, then Finish. Close the window, etc. This part is now done.
Finally, set up Outlook Express (the so-called “email client”): Go to Start, Programs, Outlook Express. Click Tools, Accounts, Mail, then Add, then Mail. Your name: irrelevant, since wpPHPMailer overrides this, so enter whatever you want and click Next. Enter an email address here; this is what WordPress will use to send notice of a new registration, via Outlook Express, but not the rest of the world.
At this point, you may want to review this excellent tutorial: https://www.ilopia.com/Articles/WindowsServer2003/EmailServer.aspxAnyway, I finally got WP to talk to Outlook and Outlook to send emails to the rest of the world, but I could not get WP to send emails to the rest of the world (which of course is required to send out passwords to new registrants), until I installed the wpPHPMailer plugin and also added my i.p. address to the relay list, as described above.
I’m sure others will have slightly different setups, but at least you may find some comfort in knowing that indeed WordPress and a Windows box running IIS can work together to allow comments and registration.
gabrielheiser
Good, but and if the server is a unix? I had set phpmailer.php permissions to 777 but no success. I’m the admin and I’ve received the “new user notification” (my admin email adreesss anp phpmailer.php use the same smtp server).
But there is something interesting: The field “From” has nothing written. But when I set wordpress to “Sendmail via mail() (Default WordPress mail handler)” I reveive the new user notificatoin whith the field “from” with admin email (wp uses admin mail address to mail users).
But I want wpPHPMailer to do that to me. Some suggestion?
After I changed the admin email to [email protected] and i’ve received the new user notification. As I can see, thw WP is sending e-mails to external.
I Think WP is not generating the new user pswd. and if there’s no pswd, there’s no email…
help unix servers users!
did anyone ever find a solution to this?
Hi oconnor
I loved your simple solution for a Windows box. I am running WP on Windows 2003, with Apache etc all on one stand alone server …..so will your solution work as I am having the same problem with user registartion emails?
I will try your fix tomorrow. I hope it does.
Thanks againJJ
Kudos to Oconnor again!
YOUR SIMPLE FIX DID IT!
GAbi.
I still have the same problem. wordpress admin emails come through, just no user resgistration emails although bbpress on same server is fine, i get both.
i think it’s the difference of the [ ] marks around the e-mail from, bits, i have removed one lot from around the ‘blogname’ however i cant find the other [ ] comments to remove from the part where it shows the users email from. It does this when someone posts a contact from through as well, i see them in my spam folder.
pleae help, though im sure 2.1 wordpress will be great and wont have anyproblems….mmm. cant complain though best free thing in the world!
- The topic ‘How does WP send the user registration email?’ is closed to new replies.