Skip to content

DefensiveOrigins/SendGridSend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python script to send an email with SendGrid using a SendGrid API Key

Install

pip install sendgridsend

Use:

# Python GIt Clone version

.\SG.py `
  -ApiKey "SG.xxxxxx" `
  -From you@example.com `
  -To alice@example.com,bob@example.com `
  -Subject "Hello" `
  -Text "This is a test." `
  -Cc carol@example.com `
  -Bcc dan@example.com

# PIP version
sendgridsend `
  -ApiKey "SG.xxxxxx" `
  -From you@example.com `
  -To alice@example.com,bob@example.com `
  -Subject "Hello" `
  -Text "This is a test." `
  -Cc carol@example.com `
  -Bcc dan@example.com

About

Send an email from command line with python and an SG API Key

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages