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
Metadata
Release files for sendgridsend 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sendgridsend-0.1.3.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sendgridsend-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.7 kB
Release files / sendgridsend-0.1.3.tar.gz
| Download URL | sendgridsend-0.1.3.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfbebd53f15b966b8bdcc1a63480d8798e1541469cfde6991fb1eaa8c66c66d3
|
|
BLAKE2b-256 checksum How to use checksums |
3e45b326c7301fc1f3390a58bbb42dfea33f89001fba5c26c64ba1fe9631ce46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / sendgridsend-0.1.3-py3-none-any.whl
| Download URL | sendgridsend-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d686e332948b0c5b52987b2c27633157854b087774e8c4923b6ace0bb9dbd5bb
|
|
BLAKE2b-256 checksum How to use checksums |
04bb8e45c4a4a877cc87ed667f19dad2dbeb9114453accb812a3dbeb3dfe50fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|