sendgrid.com Open in urlscan Pro
3.212.195.190  Public Scan

Submitted URL: https://senddgrid.com/
Effective URL: https://sendgrid.com/en-us/2?adobe_mc_sdid=SDID%3D39B5489BCECA718E-391ADE508CCF416C%7CMCORGID%3D32523BB96217F7B60A495...
Submission: On October 20 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

___


 * Products
   
   EMAIL API
   
   Trusted for reliable email delivery at scale.
   
   Overview An icon of a right arrow
   Take a tour An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
   Features
   
    * SMTP Service
    * Email Validation
    * Deliverability Insights
   
    * Dynamic Templates
    * Email Infrastructure
    * 5-minute Integration
   
   EMAIL MARKETING CAMPAIGNS
   
   A suite of tools to create engaging email campaigns.
   
   Overview An icon of a right arrow
   Take a tour An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
   Features
   
    * Email Automation
    * Signup Forms
    * Email Testing
   
    * Email Design
    * Email Templates
    * Email Statistics
   
   EXPERT SERVICES
   
   Partner with an email expert.
   
   Overview An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
   Services
   
    * Set-Up Assistance
    * Delivery Help
    * Ongoing Consulting

 * Why SendGrid
   
   OVERVIEW
   
   Get more messages delivered. See better results.
   
   Why Twilio SendGrid An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
    * Calculate Your Email ROI
    * Our Delivery Rates
    * Free Plan
    * Email + SMS, WhatsApp, and More
   
   SOLUTIONS
   
   See how we can serve your email program.
   
   Email Solutions An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
    * Developers
    * Startups ↗
    * High-Volume Senders
   
    * Marketers
    * Enterprises
    * Ecommerce
   
    *  
   
   CUSTOMER STORIES
   
   Leading brands trust SendGrid.
   
   See more customers An icon of a outbound link arrow
   
   --------------------------------------------------------------------------------
   
   Shopify logo
   ibotta logo
   Glassdoor logo
   Phenix logo
   Strava logo
   Vacasa logo
    *  

 * Resources
   
   RESOURCES
   
   Tips and tools to optimize your email program.
   
   See all resources An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
    * Guides
    * Blog
    * Free Templates
   
    * Webinars
    * Customer Stories
    * Email Marketing Guide
   
   CUSTOMER HELP
   
   Resources to send your best with Twilio SendGrid.
   
   Support An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
    * FAQ
    * Status
      
    * Partners
   
    
   
    * Knowledge Center
    * API Reference
    * Privacy and Security
   
   FEATURED RESOURCES
   
   Our most popular content.
   
   EMAIL MARKETING BEST PRACTICES
   
   GETTING STARTED IN EMAIL MARKETING

 * Developers
   
   GET STARTED
   
   Resources to integrate and send via our APIs.
   
   View docs An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
    * Start in 5 Minutes
    * API Reference
   
    * Event Webhook
    * Libraries ↗
   
    *  
   
   POPULAR TOPICS
   
   Additional resources for successful integration.
   
   View Knowledge Center An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
    * Templates
    * Inbound Parse Webhook
    * Integrations
   
    * Contact Support
    * Status
    * Email Validation API
   
   FEATURED LIBRARIES
   
   We support your language.
   
   Explore on Github An icon of a outbound link arrow
   
   --------------------------------------------------------------------------------
   
    * cURL
    * Node
    * Ruby
   
    * PHP
    * Go
    * Python
   
    * Java
    * C#

 * Pricing

 * Contact us
   
   SUPPORT
   
   Already a Twilio SendGrid Customer? Contact support for help!
   
   Contact support An icon of a right arrow
   
   TALK TO SALES
   
   Need help? Talk to an expert who can recommend the right solution for your
   email program.
   
   Contact sales An icon of a right arrow
   
   FAQ
   
   Get answers to frequently asked questions about Twilio SendGrid.
   
   View FAQ An icon of a right arrow
 * Sign in
 * Start for free
 * Menu

 * Products
   
   EMAIL API
   
   Trusted for reliable email delivery at scale.
   
   Overview An icon of a right arrow
   Take a tour An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
   Features
   
    * SMTP Service
    * Email Validation
    * Deliverability Insights
   
    * Dynamic Templates
    * Email Infrastructure
    * 5-minute Integration
   
   EMAIL MARKETING CAMPAIGNS
   
   A suite of tools to create engaging email campaigns.
   
   Overview An icon of a right arrow
   Take a tour An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
   Features
   
    * Email Automation
    * Signup Forms
    * Email Testing
   
    * Email Design
    * Email Templates
    * Email Statistics
   
   EXPERT SERVICES
   
   Partner with an email expert.
   
   Overview An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
   Services
   
    * Set-Up Assistance
    * Delivery Help
    * Ongoing Consulting

 * Why SendGrid
   
   OVERVIEW
   
   Get more messages delivered. See better results.
   
   Why Twilio SendGrid An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
    * Calculate Your Email ROI
    * Our Delivery Rates
    * Free Plan
    * Email + SMS, WhatsApp, and More
   
   SOLUTIONS
   
   See how we can serve your email program.
   
   Email Solutions An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
    * Developers
    * Startups ↗
    * High-Volume Senders
   
    * Marketers
    * Enterprises
    * Ecommerce
   
    *  
   
   CUSTOMER STORIES
   
   Leading brands trust SendGrid.
   
   See more customers An icon of a outbound link arrow
   
   --------------------------------------------------------------------------------
   
   Shopify logo
   ibotta logo
   Glassdoor logo
   Phenix logo
   Strava logo
   Vacasa logo
    *  

 * Resources
   
   RESOURCES
   
   Tips and tools to optimize your email program.
   
   See all resources An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
    * Guides
    * Blog
    * Free Templates
   
    * Webinars
    * Customer Stories
    * Email Marketing Guide
   
   CUSTOMER HELP
   
   Resources to send your best with Twilio SendGrid.
   
   Support An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
    * FAQ
    * Status
      
    * Partners
   
    
   
    * Knowledge Center
    * API Reference
    * Privacy and Security
   
   FEATURED RESOURCES
   
   Our most popular content.
   
   EMAIL MARKETING BEST PRACTICES
   
   GETTING STARTED IN EMAIL MARKETING

 * Developers
   
   GET STARTED
   
   Resources to integrate and send via our APIs.
   
   View docs An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
    * Start in 5 Minutes
    * API Reference
   
    * Event Webhook
    * Libraries ↗
   
    *  
   
   POPULAR TOPICS
   
   Additional resources for successful integration.
   
   View Knowledge Center An icon of a right arrow
   
   --------------------------------------------------------------------------------
   
    * Templates
    * Inbound Parse Webhook
    * Integrations
   
    * Contact Support
    * Status
    * Email Validation API
   
   FEATURED LIBRARIES
   
   We support your language.
   
   Explore on Github An icon of a outbound link arrow
   
   --------------------------------------------------------------------------------
   
    * cURL
    * Node
    * Ruby
   
    * PHP
    * Go
    * Python
   
    * Java
    * C#

 * Pricing
   
   OVERVIEW
   
   Get more messages delivered. See better results.
   
   --------------------------------------------------------------------------------
   
   
   
    * Email Automation
   
    * Signup Forms
   
    * Email Testing
   
   See All Features An icon of a right arrow
   
    * Email Automation
   
    * Signup Forms
   
    * Email Testing
   
   See All Features An icon of a right arrow
   
   OVERVIEW
   
   Get more messages delivered. See better results.
   
   --------------------------------------------------------------------------------
   
    * Email Automation
   
    * Signup Forms
   
    * Email Testing
   
   See All Features An icon of a right arrow
   
    * Email Automation
   
    * Signup Forms
   
    * Email Testing
   
   See All Features An icon of a right arrow
   
   OVERVIEW
   
   Get more messages delivered. See better results.
   
   --------------------------------------------------------------------------------
   
    * Email Automation
   
    * Signup Forms
   
    * Email Testing
   
   See All Features An icon of a right arrow
   
    * Email Automation
   
    * Signup Forms
   
    * Email Testing
   
   See All Features An icon of a right arrow
 * Contact us
   
   SUPPORT
   
   Already a Twilio SendGrid Customer? Contact support for help!
   
   Contact support An icon of a right arrow
   
   TALK TO SALES
   
   Need help? Talk to an expert who can recommend the right solution for your
   email program.
   
   Contact sales An icon of a right arrow
   
   FAQ
   
   Get answers to frequently asked questions about Twilio SendGrid.
   
   View FAQ An icon of a right arrow
 * Sign in

 * Start for free

Some U.S. state privacy laws offer their residents specific consumer privacy
rights, which we respect as described in our privacy notice. To opt-out of our
making available to third parties information relating to cookies and similar
technologies for advertising purposes, select "Opt-Out". To exercise other
rights you may have related to cookies, select "More Info" or see this "Do Not
Sell My Personal Information" link.
Accept Opt-Out More Info
Twilio Sendgrid


EVERYTHING YOU NEED TO


DELIVER EMAILS AT SCALE


EMAIL API AND SMTP SERVICE FOR DEVELOPERS

Trusted API for email delivery at scale.

Start for free


EMAIL CAMPAIGNS FOR MARKETERS

Tools to create engaging email campaigns.

Start for free
Uber logo
Spotify logo
Airbnb logo
Yelp! logo
Glassdoor logo
Instacart logo


THE TWILIO SENDGRID DIFFERENCE


PROVEN DELIVERABILITY

The tools and expertise you need to optimize your inbox delivery rate.

Reach the inbox An icon of a right arrow


SCALE WITH CONFIDENCE

Send on a world-class platform that delivers more than 100 billion emails every
month.

Send & grow An icon of a right arrow


EMAIL EXPERTISE

Experts can help you optimize your program, troubleshoot, and resolve issues.

Work with experts An icon of a right arrow


THE EMAIL API BY DEVELOPERS FOR DEVELOPERS

Integrate and deliver in minutes with our RESTful APIs and SMTP, libraries to
support your programming language, and interactive documentation.

Learn more Take a tour
JavaScript logo Curl logo Ruby logo Python logo PHP logo Java logo C# logo

// using Twilio SendGrid's v3 Node.js Library
// https://github.com/sendgrid/sendgrid-nodejs
const sgMail = require('@sendgrid/mail');
sgMail.setApiKey(process.env.SENDGRID_API_KEY);
const msg = {
  to: 'test@example.com',
  from: 'test@example.com',
  subject: 'Sending with Twilio SendGrid is Fun',
  text: 'and easy to do anywhere, even with Node.js',
  html: '<strong>and easy to do anywhere, even with Node.js</strong>',
};
sgMail.send(msg);



curl --request POST \
	--url https://api.sendgrid.com/v3/mail/send \
	--header "Authorization: Bearer $SENDGRID_API_KEY" \
	--header 'Content-Type: application/json' \
	--data '{"personalizations": [{"to": [{"email": "test@example.com"}]}],"from": {"email": "test@example.com"},"subject": "Sending with SendGrid is Fun","content": [{"type": "text/plain", "value": "and easy to do anywhere, even with cURL"}]}'



# using SendGrid's Ruby Library
# https://github.com/sendgrid/sendgrid-ruby
require 'sendgrid-ruby'
include SendGrid

from = Email.new(email: 'test@example.com')
to = Email.new(email: 'test@example.com')
subject = 'Sending with SendGrid is Fun'
content = Content.new(type: 'text/plain', value: 'and easy to do anywhere, even with Ruby')
mail = Mail.new(from, subject, to, content)

sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'])
response = sg.client.mail._('send').post(request_body: mail.to_json)
puts response.status_code
puts response.body
puts response.headers



# using SendGrid's Python Library
# https://github.com/sendgrid/sendgrid-python
import os
from sendgrid import SendGridAPIClient
from sendgrid.helpers.mail import Mail

message = Mail(
    from_email='from_email@example.com',
    to_emails='to@example.com',
    subject='Sending with Twilio SendGrid is Fun',
    html_content='<strong>and easy to do anywhere, even with Python</strong>')
try:
    sg = SendGridAPIClient(os.environ.get('SENDGRID_API_KEY'))
    response = sg.send(message)
    print(response.status_code)
    print(response.body)
    print(response.headers)
except Exception as e:
    print(e.message)



// using SendGrid's Go Library
// https://github.com/sendgrid/sendgrid-go
package main

import (
	"fmt"
	"log"
	"os"

	"github.com/sendgrid/sendgrid-go"
	"github.com/sendgrid/sendgrid-go/helpers/mail"
)

func main() {
	from := mail.NewEmail("Example User", "test@example.com")
	subject := "Sending with SendGrid is Fun"
	to := mail.NewEmail("Example User", "test@example.com")
	plainTextContent := "and easy to do anywhere, even with Go"
	htmlContent := "<strong>and easy to do anywhere, even with Go</strong>"
	message := mail.NewSingleEmail(from, subject, to, plainTextContent, htmlContent)
	client := sendgrid.NewSendClient(os.Getenv("SENDGRID_API_KEY"))
	response, err := client.Send(message)
	if err != nil {
		log.Println(err)
	} else {
		fmt.Println(response.StatusCode)
		fmt.Println(response.Body)
		fmt.Println(response.Headers)
	}
}



<?php
require 'vendor/autoload.php'; // If you're using Composer (recommended)
// Comment out the above line if not using Composer
// require("/sendgrid-php.php");
// If not using Composer, uncomment the above line and
// download sendgrid-php.zip from the latest release here,
// replacing  with the path to the sendgrid-php.php file,
// which is included in the download:
// https://github.com/sendgrid/sendgrid-php/releases

$email = new \SendGrid\Mail\Mail(); 
$email->setFrom("test@example.com", "Example User");
$email->setSubject("Sending with SendGrid is Fun");
$email->addTo("test@example.com", "Example User");
$email->addContent("text/plain", "and easy to do anywhere, even with PHP");
$email->addContent(
    "text/html", "<strong>and easy to do anywhere, even with PHP</strong>"
);
$sendgrid = new \SendGrid(getenv('SENDGRID_API_KEY'));
try {
    $response = $sendgrid->send($email);
    print $response->statusCode() . "\n";
    print_r($response->headers());
    print $response->body() . "\n";
} catch (Exception $e) {
    echo 'Caught exception: '. $e->getMessage() ."\n";
}



// using SendGrid's Java Library
// https://github.com/sendgrid/sendgrid-java
import com.sendgrid.*;
import java.io.IOException;

public class Example {
  public static void main(String[] args) throws IOException {
    Email from = new Email("test@example.com");
    String subject = "Sending with SendGrid is Fun";
    Email to = new Email("test@example.com");
    Content content = new Content("text/plain", "and easy to do anywhere, even with Java");
    Mail mail = new Mail(from, subject, to, content);

    SendGrid sg = new SendGrid(System.getenv("SENDGRID_API_KEY"));
    Request request = new Request();
    try {
      request.setMethod(Method.POST);
      request.setEndpoint("mail/send");
      request.setBody(mail.build());
      Response response = sg.api(request);
      System.out.println(response.getStatusCode());
      System.out.println(response.getBody());
      System.out.println(response.getHeaders());
    } catch (IOException ex) {
      throw ex;
    }
  }
}



// using SendGrid's C# Library
// https://github.com/sendgrid/sendgrid-csharp
using SendGrid;
using SendGrid.Helpers.Mail;
using System;
using System.Threading.Tasks;

namespace Example
{
    internal class Example
    {
        private static void Main()
        {
            Execute().Wait();
        }

        static async Task Execute()
        {
            var apiKey = Environment.GetEnvironmentVariable("NAME_OF_THE_ENVIRONMENT_VARIABLE_FOR_YOUR_SENDGRID_KEY");
            var client = new SendGridClient(apiKey);
            var from = new EmailAddress("test@example.com", "Example User");
            var subject = "Sending with SendGrid is Fun";
            var to = new EmailAddress("test@example.com", "Example User");
            var plainTextContent = "and easy to do anywhere, even with C#";
            var htmlContent = "<strong>and easy to do anywhere, even with C#</strong>";
            var msg = MailHelper.CreateSingleEmail(from, to, subject, plainTextContent, htmlContent);
            var response = await client.SendEmailAsync(msg);
        }
    }
}




INTUITIVE EMAIL MARKETING CAMPAIGNS FOR MARKETERS

Build meaningful connections with easy-to-use email marketing tools that
streamline everything from design to send

Learn more Take a tour
Free trial


START SENDING EMAIL WITH SENDGRID FOR FREE

Sign up for a free trial to experience SendGrid’s reliable, scalable email
delivery.


Start for free View pricing




PRODUCTS

 * Email Marketing
 * Email API
 * Twilio Programmable SMS
 * Expert Services
 * One Platform Solution
 * Pricing

View all products An icon of a right arrow


SENDGRID IS FOR

 * Startups
 * Enterprises
 * High Volume Senders
 * Marketers
 * Ecommerce
 * Developers

Our customers An icon of a outbound link arrow


RESOURCES

 * Guides
 * Blog
 * Videos & Podcasts
 * Webcasts
 * Knowledge Center
 * Status

Contact support An icon of a right arrow


DEVELOPERS

 * Start in 5 minutes
 * API Reference
 * SMTP Service
 * Libraries
 * Event Webhook
 * Integration & Partners

Go to docs An icon of a right arrow


COMPANY

 * About Twilio SendGrid
 * Our Team
 * Our Customers
 * Careers at Twilio
 * Twilio Press & Media
 * Trust & Security

Contact us An icon of a right arrow

--------------------------------------------------------------------------------

Sitemap Privacy Policy Terms
Copyright 2024 SendGrid
 * Twitter logo
 * 
 *