I have installed wordpress on google cloud platform. The domain name already existed. The installation is successful however impossible to receive emails from the site contact form. I tried several mail without success. I also wanted to add a wordpress user but the person does not receive the invitation email.

How to configure to receive the mail?

I have however entered the MX parameters of google domain (gsuite)

2 Answers 2


Virtual machines in Google Cloud Platform cannot send email through normal SMTP on port 25. You have to set up your machine to relay mail (on authenticated port 587, or otherwise) through a third party email provider. Google provides more information on how to do this with common third party providers.


Following the documentation, that was already shared, you could use third party services. I'm sharing you 2 option you could try with the guides to configure it:

You could use sendgrid, with this guide or smtp2go, and here the guide with the instructions.

You could us the next guide to configure the SMTP to send emails from wordpress.

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.