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 [email protected] `
  -To [email protected],[email protected] `
  -Subject "Hello" `
  -Text "This is a test." `
  -Cc [email protected] `
  -Bcc [email protected]

# PIP version
sendgridsend `
  -ApiKey "SG.xxxxxx" `
  -From [email protected] `
  -To [email protected],[email protected] `
  -Subject "Hello" `
  -Text "This is a test." `
  -Cc [email protected] `
  -Bcc [email protected]

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