2

I have a problem where, on a new install of WordPress, I want to add a new user, but the user is not receiving the email with the confirmation link.

I've done some research and understand that this can be due to various factors, but before I start hassling my host's technical support, I wanted to know whether there's some obvious reason this would be happening in my situation.

Specifically, my WordPress site is installed at subdomain site.example.com, while my admin email address is example@example.com. My host is also not handling the email for this domain, since I have my MX records at the registrar pointed to G-Suite. If one of these is indeed the cause, is there an easy way to fix it?

I've tried to do some searches, but couldn't get search results to come up with exactly what I wanted, and some of the sort-of-related info was over my head (I'm kind of new to dealing with a web host, and very new to WordPress).

Thanks!

  • by default wp is sending out mails via php mail() function. this could be blocked and/or is often identified as spam and block on the other end. so try to setup a smtp connection to a mailserver and send mails with that. i made good experiences with postman – honk31 Sep 3 '18 at 14:31
1

(I know this is a late answer, so the original poster has probably moved on from this. But I am posting an answer to this in hopes that it will help later users solve their issue, should they happen along to this question.)

The first step is understanding how email works in WordPress. WP will use wp_mail() to send messages, and this is essentially a wrapper for PHP's mail().

The default "from" address will be an email address configured based on your site's setup. And unless specifically configured to do otherwise, the message will be sent using the web server's emailer.

My host is also not handling the email for this domain, since I have my MX records at the registrar pointed to G-Suite.

That's not actually a true statement. Where emails from WP are sent from/through has nothing to do with your domain's MX records. These are two totally separate things.

Now, that being said, you can configure WP to utilize your external email account (in this case, G-Suite). But that's not automatic.

There are two ways to do it. One approach is to use an SMTP plugin. There are many of these available, and a search of the wordpress.org plugin repository will yield several good possibilities.

There are simple approaches to do it without a plugin as well. All you need to do is define your email account information so that the mailer can connect to it.

So to come back around to the initial issue - "the user is not receiving the email with the confirmation link" - it is possible that your emails are not being sent by your host.

(Note that when/if they are sent through an SMTP account, you generally will be able to look in your sent folder to confirm an email was sent. With your web host's email server, which undoubtedly is what is being used in this situation, you may or may not have access to the sending queue to review whether an email was sent.)

There could be a number of reasons why an email was not sent or received. But configuring your setup to use your SMTP account will negate most of those possibilities and make it easier to solve other possibilities.

| improve this answer | |
0

This was a long time ago, but I think I remember my solution being reinstalling Wordpress as a regular site instead of a multisite (it turned out that I didn't need it to be a multisite). Obviously that's doesn't get to the actual root of the problem, but just posting here in case it's useful to someone else.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.