Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Changed to multisite and my site doesn't send mails anymore

Hello.

I changed my single site to multisite and now my site doesn't send mails when a new user is registered.

What can be reasons to this?

You can try this for yourself: http://raccoonbox.com/wp-login.php?action=register

Probably you wont get a confirmation mail but if you do please tell me!

3 Answers

Jeremy Castanza
Jeremy Castanza
12,081 Points

I believe that WordPress does use the PHP mail function by default. I ran into this problem before but never on multi-site. In my situation, it was because we had a Windows server running WordPress. To solve, we ended having to use a SMTP plugin. I'm not familiar enough with multi-site to know if you'd have to install the plugin for each instance of WP. If I were in your shoes, I would consider finding another host that specializes in hosting WordPress. . It'll save you a lot of time and headaches in troubleshooting these types of issues.

Thanks. I will probably just do that and move my site to SiteGround.

Jeremy Castanza
Jeremy Castanza
12,081 Points

Are you using a plugin to send mail?

Nope. All mails should have gone through WordPress default mail sending application. I understood that it is the php mail function?

What I have recently learned is my hosting provider have disabled php mail sending possibility server wide. They claim that it is a risk for their servers to be marked as a spam servers as many old WordPress sites get hacked and then used for sending lots of spam mail. The hosting provider suggested me to install WP EASY SMTP plugin but then I couldn't get the confirmation from them will this plugin work in multisite environment. Also I think that setting up a mail sending plugin over WordPress built-in mail sending feature is just waste of time and resource. I'm also concerned will all my sub-site need to setup this SMTP setting if I start using a separate plugin for sending mails.