---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/sendgrid/for-developers/sending-email/smtp-go-code-example#article
headline: SMTP Go Code Example
description: Utilize SendGrid's Go SMTPAPI library for full integration, as documented on GitHub. Reach out to the community on Stack Overflow for issues.
url: https://www.twilio.com/docs/sendgrid/for-developers/sending-email/smtp-go-code-example
inLanguage: en
dateModified: 2024-04-24T20:56:51.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# SMTP Go Code Example

SendGrid recommends using our [Go SMTPAPI library](https://github.com/sendgrid/smtpapi-go), full documentation can be found on GitHub. Our [Go API library](https://github.com/sendgrid/sendgrid-go) allows you to fully integrate with SendGrid.
