This follows on from a blog post I wrote recently about the WordPress Welcome Email Editor. I have released the plugin into the WordPress Extend Directory. This page is used to host a changelog and screenshots.
As there were no hooks for the welcome email I had to override the wp_new_user_notification function and write my own then simply converted it to use Options and wrote a nice admin page for it. Let me know if I can extend it at all or if you find any bugs..
Downloads have been moved to the WordPress Plugin Directory although you can download the first version below.





Hello !
Great one though !
Well, do you intend to add the “new blog notification” for multisites installs ?
This is a issue for me as all notifications presents html code in the notification mails which is weired that would be a really gret feature
Thanks !
exellent plugin congratulations =) i am using it right now
congratulations on the plugin, works perfectly, but i have one problem, I’m using Pie-Register (Register Plus) and it says I have to deactivate Pie-Register for your plugin to work, I can’t deactivate it. Is there a way to override the default pie-register new user welcome email (Pie register admin is not working thus I can’t make any changes.)
Thank you.
Hi Pablo,
Thanks for your feedback. If you open up the Register Plus plugin code and look for wp_new_user_notification and then remove that function it will cause my plugin to function for you. Sadly as far as I know there is no way to override a function which has been declared already.
Hope this helps.
thanks
Sean
Hey guys!
I had the same problem with @Faydra and finally it is ABSOLUTELY easy to make it show your own sender’s name and not “wordpress”. What you have to do is to write in the “From Email Address” and “Reply To Email Address” fields the following:
“your-sender’s-name ”
E.g. Website
Hi,
Great Plugin! How can I remove the word ‘WordPress’ in the ‘From’ field?
Thanks,
Danielle
Hi!
Thanks so much for setting up this plugin. I’m surprised there isn’t a way already set up within WP to customize these emails.
I’m wondering how difficult it would be to ADD a hook into the plugin. I have a custom field on the registration, and it would be extra-sweet if it could send it along in the admin notification.
Thanks so much!
Hi Guys,
@Patricia, If you want to contact me via email with some more info then I can update the plugin for you
@Danielle, if you change line 143 of the plugin from wp_mail to just mail then it should work. wp_mail works well but adding an SMTP plugin will allow you to more effectively control the From address and actually increase the deliverability of it.
thanks
Sean
Hi Sean,
There is a conflict with the “Cimy User Extra Fields” plugin, CUEF doen’t have an email capacity, is there a way to resolve the conflict and have both working ?
By the way a test button, sending the message to the logged admin, would be lovely
Thanks for your so useful pluging,
Jean-Luc
Hey Jean-Luc, Thanks for the feedback. I shall have a look and see if I can get them to work together. I agree a test button would be a good idea. Watch out for the next release.
thanks
Sean
Hi Sean,
Love the plugin and the styling ability it brings to the registration emails.
One issue I seem to be finding is that the email that is sent to the admin email address doesn’t seem have any from information in it (the once the user receives works fine)
I am using the wp mail from plugin so i don’t know if this causes any conflict ?
any help would be much appreciated.
Thanks
Ben
Hi Ben, thanks for your feedback. I need to update the plugin a bit I think however in the meantime if you replace occurences of mail() with wp_mail() then the from address will be taken into consideration properly. I know it’s a code change but will get you going until I get a chance to update the plugin.
Let me know how you get on.
ta
S
Hi there Maurice,
very nice plugin, I love it. I have just one issue. When a mail is send to a user who is new registered, it says “WordPress” after the sent from line Email adress. As i have built my website no one recognize it’s a wordpress I would like to have that removed. Where can I do that? also the [admin mail] uses the URL from the server and not the URL of the domain. Is it possible to change that also (except of just writing it into the form)
Best Regards,
Thomas
Hi Thomas, Maurice is my son.. he’s 1 so probably won’t be able to fix this for you
However if you go into the file and change any occurences of wp_mail to just mail it will use the headers from the plugin instead of just WordPress. Try that and let me know how you get on. Re the other I would do a search inside the plugin file for admin mail and change the str_replace() line to site_url().
thanks
Sean
Hi Sean,
I Love the Plugin it works great… except for the part where the admin is soppose to get a notification on the new user I never get the email I have godaddy email set up with wp mail smtp and in general under my setting i have my smtp email address is there any other configurations im missing? or what am i doing wrong
Hi, thanks for the feedback. Re the error, I suppose it depends on which version you are using. If your code has wp_mail in it then it should work. If it had mail inside then on Godaddy it might not. Want to check it out and get back to me. Try my email directory if you like barton[dot]sean[at]gmail[dot]com.
thanks
Sean
Hi Sean – this plugin was exactly what I was looking for. I am however getting a compatibility problem with wp3.1 and i think the mingle plugin. I thought it must be something to do with mingle defining wp_new_user_notification first but looking through the mingle plugin code I can’t find an instance of this function being defined. Do you have any idea of why this might be happening?
Hi Adam,
Thanks for the comment. It’s not an issue with 3.1 because I use it with that version of WP on my own sites. However yes there is a known issue with Mingle which I have yet to have had time to sort. I expect, as you suggest Mingle is getting there first. Another explanation might be that Mingle is causing the declaration of the WP version to be moved up the define list by calling an include or WP file directly, sooner than it would normally be called. To test this you (or I) would have to try another developers welcome email plugin (not as good as mine of course
) and see if their versions work. If they don’t then it’s sadly Mingle, if they do then I have made a mistake somewhere. It’s a little odd though because my plugin is a single PHP file which is called and instantly declares the function, there isn’t really a great deal I can do except for renaming my plugin Aardvark Welcome Email Editor in the hope that Worpress calls plugins in alphabetical order
Let me know if you come up with anything, I shall check it out.
thanks
Sean
I installed the plugin, but when I test the email send the Password portion of the email says:
Password: [User password will appear here]
instead of the actual password. Any ideas?
Hi Mike,
This is normal behaviour as on install it won’t know your password. The plugin works by storing the passwords as accounts are created or passwords are changed. The test email does what it says on the tin… it tests the email that’s sent to users merely for hook replacement and layout. The password hook itself will either be replaced with the password or a note saying it’s the password they used on signup. Hope this helps.
ta
S
after install this plugin i created new user then in password fld i receive [Your Password Here].
i know if a user signs up to my site after this version of my plugin was there is will store the password. If the user is pre-existing then won’t have the password in plaintext stored. I tried it several time but not working. even after creating new user i logged in to that account then again tried but same answer.
I use exactly this code New user registration on your blog Username: [user_login]Email: [user_email]
Password: [plaintext_password]
[login_url]
Please help me…
Sean,
This is a fantastic plug-in and makes life so much easier. Thank you for writing it and for continuing to add new functionality.
I have 2 questions for you:
1) I’m currently on version 1.7. If I upgrade to 1.8 will my email configuration stay in place, or will I have to redo it? I’ve got a bunch of email recipients and have two different email templates that I would like to maintain.
2) In your notes you point out that using SMTP to send the emails will help the emails to avoid spam filters. I very much want to make this change to my set up. Could you point me toward some instructions or help on doing this?
Hi Leah,
Thanks for the praise. Sorry about my reply in response. I am on holiday abroad until early October. In answer to your questions.. 1) No it won’t clear any data.. it’s all in the database and my plugin doesn’t do any unnecessary ‘housekeeping’ like other plugins have been known to do. 2) SMTP is a good thing yes. I tend to use WP Mail SMTP or a similarly named plugin.. they all do the same job. It;s fairly easy. You just activate the SMTP plugin and put in your SMTP server info into the settings page and then it will automatically send all mail from your website using that method. You will find your spam levels drop and users might start flocking to your site (you never know!).
Thanks and by all means let me know if I can help you further.
Sean
How the plugin reveals users password as they are encrypted? Does it stores them in some other location or other way?
Thanks
Hi Tom, each time a user signs up or edits their profile it saves the password in the database in plain text so that it can be recalled later on. Obviously if you install my plugin after people have signed up then it will need to wait until they edit their user for it to resave the info.
thanks
Sean
each time a user signs up or edits their profile it saves the password in the database in plain text so that it can be recalled later on. but in my case after install this plugin i can not save my plan text pass. please help
Hi zahid,
Sorry for not getting in touch sooner. I am currently away until the weekend with only my iPad so hard to test things out. Can you maybe try reverting your theme to twentyten and disabling all other plugins for me and see I that helps. Other people seem to say it’s working although I am unable to test it myself at present.
Perhaps email me at barton.sean@gmail.com and I can help you more directly. I use Skype also at sean_barton if that helps.
Thanks
Sean
Actually i need to work with Buddypress enable theme now i am using “BuddyPress Default 1.2.10″ this theme.
hello,
Your plug in solved the esthetic of my site…
it works perfectly with the welcome mail on register. But in my case, when it sends an email for resting password, it shows Word press as sender….
Is there something to do?
the additional headers could help me? in taht case how do I have to write it?
thanks in advance for your answer.
sincerlly ema
Hi Ema,
Thanks/ glad you like it! My plugin doesn’t customise the forgot password email (although it is on the cards for a future addition). To edit the sender of your emails you could use a plugin like WP SMTP which allows you to set up an SMTP server to enhance deliverability (not required.. you cam just tell it to send emails the normal way) but it also allows you to set up a from address and name to work across the entire site.
The plugin works next to mine with no conflicts in case you were wondering.
Let me know how you get on.
thanks
Sean
thanks, for your answer.
hey sean,
I installed the plugin and it worked great, then i modified the email (spelling mods only), after I saved it and tested it all the emails are coming back as text, all the html code is showing. I thought I may of changed it to a text email but its definately set on html.
Has anyone else run into this before?
Hi Matt,
Thanks for getting in touch. No this is a new one on me. No one else has noticed it. Is it WordPress single or multisite. The latter is a new feature so likely something up there. Perhaps get in touch via email barton.sean@gmail.com and I can help you out directly.
thanks
Sean
Sorry, false alarm, I had a filter in my php.ini that was messing with everything, got rid of it, resaved and everything is ship shape now.
Thanks for the quick response though, very appreciated.
Definately a nice simple plugin but is there a real reason that you need to insert sb_we_plaintext_pass in the usermeta?
I personally don’t like being able to see plaintext passwords of my customers (we don’t use wordpress for blogging).
Just stumbling across it when I was pruning the DB I felt like I had invaded their privacy.
Could you not add an option to purge that data or to not store it at all.
Hi there Bren, I completely agree that storing passwords in plaintext is not nice often but in this case it’s essential to make the password reminder system work. I think for the next version I shall perhaps add the option to turn that bit of functionality off for people such as yourselves who worry about such things.
Thanks for voicing your concerns. I shall put something in place and get it released soon. Watch you in your WordPress plugin updates section for a new version.
Sean
Hi Bren, I have added an option to turn off the reminder feature and it’s in the WordPress repository now. It doesn’t purge data but it does stop it from being logged. Hopefully that’s makes this plugin more viable for you.
thanks
Sean
Hey Sean,
Great plugin and especially great that you’re so involved in helping folks with it.
I have a question about the feature that’s referenced on the WP Plugin page:
“A reminder email service has now been added whereby the admin user can send a reminder to any particular user. This can be the original welcome email or a separate template configured on the Welcome Email Editor settings page.”
I’m trying to send one email when a user registers, then another when they are approved. I can’t find the options for this “reminder email” or a “separate template” on the settings page.
Any thoughts?
Thanks.
Actually found somewhat of a fix using the New User Approve plugin.
Have yet to test if your plugin still controls the email that is actually sent(allowed) by this plugin, but so far, so good.
Hi Dave,
Sorry I must have started writing this then fell asleep or got distracted. Note the new copy on your plugin updates page which contains a way to edit the email that gets sent on a reminder.
thanks
Sean
Sean,
New to WordPress and a complete php dummy so your email plugin looks like a godsend. Problem is it’s not working. The test emails go out perfectly but the new user email still comes from WordPress, its wording and from WordPress@dclla.com. Using WordPress 3.3 and your plugin 2.3. Any suggestions would be greatly appreciated.
Hi Jeff, I would be more than happy to help you out. Email me some more information about what other plugins you have active to barton.sean@gmail.com or use my contact form. I can then suss what it is. I suspect a plugin conflict but it won’t take me long to work it out.
thanks
Sean
Hi Sean,
Firstly, loving the plugin! But I’ve found a problem recently, our site has two different kinds of main accounts (as well as admin) but the subscriber one is the basic one. Now using your plugin I’ve customised the admin and user welcome emails but it won’t send when the registration is complete (but before first login as it contains info on how to do this). However if I go into the WordPress back end and click to resend the welcome email it sends two copies to both the user and admin so obviously it’s generating one both times but just not sending it the first!
I’m at a total loss bud so I would be massively grateful for any help. Oh and to the best of my knowledge it’s always been like this, I’m running WP 3.2.1 and plugin version 2.0.
Many thanks, I’ll be checking back here as regularly as I can.
Dave.
P.S.
Sorry if this double posts but it errored the first time and it didn’t appear
Hi Dave, Thanks for your feedback. Sorry to hear it’s not working properly. I wonder if you would let me look at the site itself and perhaps look at the code in situe. I could do with looking at the other plugins and running some tests. Could you email barton.sean@gmail.com with some more information if you are able and I shall do my best to help you out.
My apologies for the delayed reply. That time of year isn’t it!
thanks
Sean
Thanks Sean, I’ve just sent you an email with as much info as I can think of right now and am looking forward to your reply.
Once again great plugin and the instant support is great!
Oh, not sure if it’s been suggested yet but perhaps add a feature to allow bulk sending of vital emails such as site down for maintenance but not just general advertising, so basically expand it into admin email functions I suppose…