Configuration google cloud email

Julien Hardelin asked:

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)

My answer:


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.


View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.