bjhale/Send Sendgrid Email
Send an email using Sendgrid
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| from | The email address of the sender | yes | — |
| from_name | The name of the sender | no | — |
| reply_to | The email address to reply to | no | — |
| reply_to_name | The name to reply to | no | — |
| to | The email address of the recipient(s), comma delimited | yes | — |
| cc | The email address of the CC recipient(s), comma delimited | no | — |
| subject | The subject of the email | yes | — |
| body_text | The body of the email in text format | no | — |
| body_text_file | A file path to the body of the email in text format | no | — |
| body_html | The body of the email in HTML format | no | — |
| body_html_file | A file path to the body of the email in HTML format | no | — |
| attachment | A file path to attach to the email | no | — |
| attachments | A YAML list/JSON array of file paths to attach to the email | no | — |
| sendgrid_api_key | The Sendgrid API key, may also be passed via env: SENDGRID_API_KEY | no | — |
Outputs
| name | description |
|---|---|
| status | The status code returned by the Sendgrid API |