---
title: "Post SMTP 2.0.2 – Sendgrid code fix"
id: "43116"
type: "post"
slug: "post-smtp-2-0-2-sendgrid-code-fix"
published_at: "2019-05-20T05:26:53+00:00"
modified_at: "2026-03-11T08:28:39+00:00"
url: "https://postmansmtp.com/post-smtp-2-0-2-sendgrid-code-fix/"
markdown_url: "https://postmansmtp.com/post-smtp-2-0-2-sendgrid-code-fix.md"
excerpt: "Hi, I’m going to make this short: The default method selected (no configuration made) will use the default server mailing and not SMTP. Even if you have a local SMTP server, select SMTP and define it as your web host..."
taxonomy_category:
  - "Announcement"
---

## Post SMTP Blog

Tutorials and expert advice to improve WordPress email deliverability.

# Post SMTP 2.0.2 – Sendgrid code fix

### by **[Editorial Team](https://postmansmtp.com/author/editorial-team/)**

###### May 20, 2019

###### SUMMARIZE:

[https://chatgpt.com?q=visist+https://postmansmtp.com/post-smtp-2-0-2-sendgrid-code-fix/+and+summarize%20this%20blog%20post%20for%20me](https://chatgpt.com?q=visist+https://postmansmtp.com/post-smtp-2-0-2-sendgrid-code-fix/+and+summarize%20this%20blog%20post%20for%20me)
### ChatGPT

[https://perplexity.ai/search?q=visist+https://postmansmtp.com/post-smtp-2-0-2-sendgrid-code-fix/+and+summarize%20this%20blog%20post%20for%20me](https://perplexity.ai/search?q=visist+https://postmansmtp.com/post-smtp-2-0-2-sendgrid-code-fix/+and+summarize%20this%20blog%20post%20for%20me)
### Perplexity

[https://postmansmtp.com/post-smtp-2-0-2-sendgrid-code-fix.md](https://postmansmtp.com/post-smtp-2-0-2-sendgrid-code-fix.md)
### View Markdown

In This Article

Add a header to begin generating the table of contents

Hi,

I’m going to make this short:

1. The default method selected (no configuration made) will use the default server mailing and not SMTP. Even if you have a local SMTP server, select SMTP and define it as your web host is instructing you.
2. The scary message that almost made me go back to an old code was fixed: ``` $emailAddress must be valid and of type string ``` – BIG THANKS TO: [yews-grigory](https://profiles.wordpress.org/yews-grigory/)

PLEASE NOTICE: Sendgrid doesn’t love duplicates: Check that each email in: To, CC, BCC are unique!!

Good luck.

[https://postmansmtp.com/pricing/](https://postmansmtp.com/pricing/)

### Get productivity tips delivered straight to your inbox

Join **125,000+** WordPress users who get our weekly newsletter with insider WordPress tips!

## Fix Your WordPress Email Delivery Issues with Post SMTP

[Get POST SMTP Now](https://postmansmtp.com/pricing/)
