Skip to content

Instantly share code, notes, and snippets.

View sendgrid-gists's full-sized avatar

SendGrid DX sendgrid-gists

View GitHub Profile
@sendgrid-gists
sendgrid-gists / build.gradle
Last active January 18, 2024 07:34
Java build.gradle
...
dependencies {
...
compile 'com.sendgrid:sendgrid-java:4.10.1'
}
repositories {
mavenCentral()
}
...
@sendgrid-gists
sendgrid-gists / java-library-requirements.txt
Last active January 18, 2024 07:32
Java Library Requirements
Our library requires Java 8 or 11.
@sendgrid-gists
sendgrid-gists / csharp-library-requirements.txt
Last active January 18, 2024 07:32
C# Library Requirements
Our library requires .NET Framework 4.0+, .NET Core 1.0+ and/or .NET Standard 1.3+.
@sendgrid-gists
sendgrid-gists / ruby-library-requirements.txt
Last active January 18, 2024 07:30
Ruby Library Requirements
Our library requires Ruby version >= 2.4 (except version 2.6.0).
@sendgrid-gists
sendgrid-gists / php-library-requirements.txt
Last active January 18, 2024 07:29
PHP Library Requirements
Our library requires PHP 7.3, 7.4, 8.0, or 8.1.
@sendgrid-gists
sendgrid-gists / go-library-requirements.txt
Last active January 18, 2024 07:28
Go Library Requirements
Our library requires Go version 1.14, 1.15, 1.16, 1.17, 1.18 or 1.19.
@sendgrid-gists
sendgrid-gists / python-library-requirements.txt
Last active January 18, 2024 07:27
Python Library Requirements
Our library requires Python 2.7+.
@sendgrid-gists
sendgrid-gists / nodejs-library-requirements.txt
Last active January 18, 2024 07:26
Node.js Library Requirements
Our library requires Node.js version 6, 8 or >=10.
@sendgrid-gists
sendgrid-gists / tables-billing-plan.html
Last active May 30, 2021 17:14
SendGrid style-guide plan table
<table class="table-wrap is-billing">
<tr>
<th>Base Plan</th>
<td>
<p>Pro 100K</p>
<p class="plan-details">100,000 emails/mo</p>
<button class="btn btn-small btn-secondary">Change Plan</button>
</td>
<td>
$67.96
@sendgrid-gists
sendgrid-gists / v3-hello-email.js
Last active September 28, 2020 19:53
v3 "Hello World" for email, using SendGrid with Node.js.
// using Twilio SendGrid's v3 Node.js Library
// https://github.com/sendgrid/sendgrid-nodejs
javascript
const sgMail = require('@sendgrid/mail')
sgMail.setApiKey(process.env.SENDGRID_API_KEY)
const msg = {
to: 'test@example.com', // Change to your recipient
from: 'test@example.com', // Change to your verified sender
subject: 'Sending with SendGrid is Fun',
text: 'and easy to do anywhere, even with Node.js',