Configuring email with cPanel / WP Toolkit
I have created a WordPress site using WP Toolkit on cPanel. I am trying to change the admin email and have fallen at the first hurdle – confirm email not being received.
I had this fiasco last year and I think I abandoned setting it up because of this. How on earth do you configure email on these installs? Should it not just work out of the box?
The GCP VM I have it install on has ports 465 and 587 open, but the cPanel / WHM documentation on email config appears to me to be very fragmented with no clear indication of the basics – how WP and cPanel work with the server to send email, for example.
Where is this information?
-
Hey there! Yes, on a cPanel server email is configured to work by default.
Just to confirm, your confirmation email is being sent *from* your server to an external email account - is that correct? If that is the case, you may not be able to use this instance how you expect as Google Cloud blocks sending mail by default:
https://cloud.google.com/compute/docs/tutorials/sending-mail
You can test this from your server by running the following commands:
yum install telnet
telnet gmail-smtp-in.l.google.com 25If that second command times out, that confirms you will not be able to send email from your server.
If that is the case, you'll need to configure a smarthost to send mail:
Let me know if that gets you headed in the right direction!
0
Please sign in to leave a comment.
Comments
1 comment