Skip to content

About

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

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages