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.




It’s a terrific idea, and an excellent plugin. Thanks!
Two things, hopefully not too complicated:
- It has trouble dealing with the apostrophe sign, in plain text email (probably some stripslashes snafu) which is printed with a preceding backslash instead in the email.
- I wonder if it’s possible to pick which to email (either user or admin) the extra headers go. Reason: I’d like to CC the notification that a new user has registered, but I decidedly don’t want the new user’s login info copied out to others… I.e. whether such a CC or BCC can be set to just the admin email alone, not the user email.
Otherwise, wonderful plugin. Thanks a bunch!
Sorry – a third observation: perhaps it’s a good idea to add a “Test this” button or link, which would trigger a single email shot (of both the user and admin emails) to the admin’s email address; arguably this could help debugging (not to mention, flagging spelling misztakes)
Hi, thanks for the feedback and great suggestions. I shall make the changes ASAP and will reply to this comment when they are done. Probably do them towards the end of this week if I have time.
thanks
Sean
i added a couple of tags and the links in the resulting email has x-msg://38/%22 -link- %22 added to the link. how do i add links without getting this added x-msg text?
Hi Rob,
I’m afraid I don’t know off the top of my head. The tag x-msg isn’t added unless you added it as an additional header maybe. Try putting " instead of ” and see if it makes and difference. Otherwise maybe change the quote style from double to single?
Cheers
Sean
nice plugin! and easy to use with some html code…
have at first tried to modify the pluggable php but haven´t had enough time to play with the mail notification code…
and then i´ve found your plugin
Hi Sean,
Thanks for the plugin, it’s really helpful. I did notice though that when the domain on the from email is different from the domain of the WP install that the emails go into spam folders because its not using the ’sent on behalf of’ headers. This is a bit of a unique case, but in my implementation I have MU on one domain and a number of other domains also on the same install. Any thoughts?
Hi Mika,
Thanks for the feedback! You can use the additional headers section on the admin page to write in the sent on behalf of code if necessary. It seems like a nice easy way to do it I think. Let me know how you get on.
thanks
Sean
Great stuff jojo, Glad you like it! I would never recommend ever editing any of the WP core code because on updating to a new version your changes will be lost.
thanks
Sean
great plugin… now
what version WP is it compatible up to?
Hi Eric. It should work with any existing wp version.
thanks
Sean
Hi Sean, I would like a logo to be displayed in the welcome mail, but i keep getting backslashes in the image url as the mail is received. They are not in the code itself.
Hi Roy,
Backslashing is obviously me forgetting somewhere to stripslashes from a database input. The simplest thing you can do I suppose is to use a different kind of slash which might work. Instead of ” you can use ‘. Otherwise maybe find the part of the code that sends the email out and run stripslashes() on it. I will update the code myself asap.
thanks
Sean
I hope in a future version “translation ready”
Not too future …
hi there.
this plugin is exactly what i’m after but after installing it does not change the email y users receive when they register.
i have created a new user as admin and sent the email and also set myself up manually as a new user but still the default email fires through.
do you think i have missed something? – all activated and all setup
Hi Don,
Thanks for getting in touch. Firstly do you have any other plugins live on the site? Some plugins have their own version of this functionality and sometimes get in before my lugin has a chance to make any changes. Simplepress forum, I know, is one that does.
Additionally when you say activated and setup, what do you mean? Have you made some changes to the default templates in the settings page for this plugin on your site? I am happy to look at your settings and try to diagnose it for you. Just email barton.sean@gmail.com with an admin login. Otherwise check those things for me and let me know.
thanks
Sean
Hi Sean,
Many thanks for this plugin very usefull !
I’m trying to insert an image as a header but unsuccessfully.
Do you have a tip to do that ?
Thanks.
Hi Helene,
Am happy to help. Do you want to post the HTML you have been using for me to fix? I would use
for it. Make sure that the path to the image in the ’src’ tag is absolute (ie accessable from anywhere, a complete URL) and it should work. If, for some reason, my plugin is breaking it then let me know and I shall sort it for you.
thanks
Sean
Sean,
Here is the html i’m using :
and here is what i get as header :
\\r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=”iso-8859-1″
Do you understand where i’m wrong ?
Thanks for your help !
Hi Helene, apologies but for some reason my site is filtering the html in the comments. Can you email me directly at barton.sean@gmail.com and I shall take a look at it for you.
thanks
Sean
oups sorry, I forgot to paste my html !
Hi Sean.
Your plugin does not change the email message on my site.
I have read your post from February 1st, and I am concerned because I use SimplePress forum plugin.
1. Is there anything to do (other than removing SimplePress plugin) so that I could also enjoy your plugin?
2. I am not at all an expert in SimplePress plugin. Why does it have its own version of this functionality? I do not see I can change the login email in this plugin!
Hoping you could help,
Thank you in advance,
Gilbert
Hi Gilbert,
A few plugins have this functionality. I imagine as forums email your users then they want you to be able to make changes to the email they receive. I think you could edit the priority setting of the simplepress version maybe or remove the code from their plugin. Sorry, I am in the alps at the moment if not I would do it for you. Ask again in a week or so
thanks
Sean
hi Sean – I am very excited to find this plugin. It appears that I have an issue similar to Don’s above – the plugin is activated and I am running some simple tests, but none of the modifications seem to be sent. Everything stilI looks like the Wordpress default.
I have quite a few plugins installed; can you advise. Thanks, jb
Hi Jb,
Apologies for the delay in response, I have been away on holiday and only just got back. Regarding your comment… I would need to know what other plugins you have running to be able to tell if any of them are responsible for the lack of functionality in my plugin. Maybe you can send me a list to barton.sean@gmail.com or maybe an admin login so I can see your settings. I shall take a look as soon as I hear from you.
thanks
Sean
Hi Sean,
The plug in is working great…thanks! I don’t know how to change the name that the email is coming from. Right now, I have the correct return email address plugged in, but the name is says “WordPress”. I want it to say my blog name. What am I missing? Thanks for your help!
Hi Faydra, Very odd it isn’t working. However, try adding ‘From: you@email.com‘ in the additional headers box. That might work?
thanks
Sean
Hi Sean,
I did what you suggested, but it still isn’t working. I deleted the plugin & then reinstalled it, just to see if that would solve the problem. Any other suggestions? I’m getting frustrated, as I don’t want wordpress in the sender’s name. *sigh*
Hi Faydra, what other plugins are active on the site? Is simplepress forum one of them?
thanks
Sean
Hi Sean,
No, these are the plugins I’m using with the ClassiPress theme classified theme.
Breadcrumb NavXT
Daily Top 10 Posts
Google XML Sitemaps
IWG Hide Dashboard
Role Manager
SB Welcome Email Editor
Sociable
StatPress Reloaded
User Photo
WordPress Database Backup
WP-EMail
WP-PageNavi
WP-Print
WP125
Thanks for your help!!
Hi Faydra. There is nothing in there that looks like it might conflict except wp-email so will look into that for you. Does the copy change ok or is it just the from address that doesn’t change?
If you want to email me on barton.sean@gmail.com then we can hopefully get you sorted out.
thanks
Sean