# SMTP in wordpress

**URL:** <https://discuss.google.dev/t/smtp-in-wordpress/145509>\
**Category:** Compute Infrastructure\
**Tags:** server-configuration\
**Created:** [February 13, 2024, 10:53am UTC](https://discuss.google.dev/t/smtp-in-wordpress/145509 "2024-02-13T10:53:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Free1](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/free1/32/32198_2.png) [@Free1](https://discuss.google.dev/u/Free1)\
**Post date:** [February 13, 2024, 10:53am UTC](https://discuss.google.dev/t/smtp-in-wordpress/145509/1 "2024-02-13T10:53:32Z")

</div>

Hello there, I set up google SMTP with wordpress plugin and i was successful but after 2 days it stopped sending emails. I dont have success even with test email. I contacted my host provider and he told me that emails can be blocked. Could you help me please? Im total beginner. Thanks

---

<div class="post-metadata">

**Author:** ![dionv](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/dionv/32/212_2.png) [@dionv](https://discuss.google.dev/u/dionv)\
**Post date:** [February 15, 2024, 3:50pm UTC](https://discuss.google.dev/t/smtp-in-wordpress/145509/2 "2024-02-15T15:50:08Z")

</div>

Hello @Free1 ,

It may be that GCP blocks the port 25 for sending emails. You may want to consider using Sendgrid or G Suite for SMTP. Attaching here a documentation for “[Sending email from an instance](https://cloud.google.com/compute/docs/tutorials/sending-mail)”.

---

<div class="post-metadata">

**Author:** ![Free1](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/free1/32/32198_2.png) [@Free1](https://discuss.google.dev/u/Free1)\
**Post date:** [February 16, 2024, 12:15am UTC](https://discuss.google.dev/t/smtp-in-wordpress/145509/3 "2024-02-16T00:15:48Z")

</div>

Hello, maybe this will help in Error Log when I send a test email, (I also tried Sendgrid):

Debug:

Email Source: WP Mail SMTP

Mailer: Google/Gmail

{

“error”: “invalid\_client”,

“error\_description”: “Client missing a project id.”

}

Thanks for any help in advance.
