Integrating with the SMTP API

Integrating with SendGrid

To integrate with SendGrids SMTP API:

  1. Create an API Key with at least "Mail" permissions.
  2. Set the server host in your email client or application to

    • This setting is sometimes referred to as the external SMTP server or the SMTP relay.
  3. Set your username to apikey.
  4. Set your password to the API key generated in step 1.
  5. Set the port to 587.

Please note that you are sending just one header. Failure to do so, may cause unwanted consequences with inconsistent behavior. Now that you've integrated, learn to build SMTP email.

SMTP Ports

Rate limits

  • You may send up to 5k messages per SMTP connection.
  • You may open up to 10k concurrent connections from a single server.

Additional Resources

See a mistake? Edit this page