This is the sendgrid Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:22:44 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
sendgrid
Wrapper to SendGrid’s API.
vindarel
MIT
0.1
dexador
(system).
jonathan
(system).
qbase64
(system).
alexandria
(system).
src
(module).
Modules are listed depth-first from the system components tree.
Files are sorted by type and then listed depth-first from the systems components trees.
sendgrid/src/sendgrid.lisp
src
(module).
*api-key-environment-variable-name*
(special variable).
*verbose*
(special variable).
add-contact-to-list
(function).
now-plus-n-days
(function).
send-email
(function).
*one-day-in-seconds*
(special variable).
*sendgrid-api*
(special variable).
*sendgrid-contact-api-url*
(special variable).
contact-json
(function).
create-attachment-base64
(function).
ensure-list
(function).
file-to-seq
(function).
now
(function).
sendgrid-json
(function).
seq-to-base64
(function).
Packages are listed by definition order.
sendgrid
common-lisp
.
*api-key-environment-variable-name*
(special variable).
*verbose*
(special variable).
add-contact-to-list
(function).
now-plus-n-days
(function).
send-email
(function).
*one-day-in-seconds*
(special variable).
*sendgrid-api*
(special variable).
*sendgrid-contact-api-url*
(special variable).
contact-json
(function).
create-attachment-base64
(function).
ensure-list
(function).
file-to-seq
(function).
now
(function).
sendgrid-json
(function).
seq-to-base64
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Add a single contact to a sendgrid list.
To trigger an automation, login to Sendgrid and, in the marketing -> automation section, create an automation that triggers on adding a contact to a list.
Sendgrid api allows you to send emails up to 3 days (72 hours) in the future
Specify n days in the future where n is either 1, 2, or 3 days.
A unix time for that date will be returned. If any other number of days is provided, the now function will return.
Send an email with SendGrid’s API. https://docs.sendgrid.com/api-reference/mail-send/mail-send#body Currently only supporting basic parameters for 80% use cases.
Notice that ‘reply-to’, if not nil, should be an alist as (("email" . string) ("name" . string))
one day less 1000 seconds
The API URL for adding contacts to marketing lists within Sendgrid.
The JSON object sent as a POST request for subscribing a single contact to a marketing list.
A function that converts a file into a base64 string. Base64 is the required format for sending attachments in emails.
If LIST is a list, it is returned. Otherwise returns the list designated by LIST. (from Alexandria)
Convert a file into a sequence of bytes. Works with PDF and TXT files
Unix time now
Build the data json.
‘to’: one email address or a list.
‘reply-to’: a pair of email and name.
‘from’: the sending email
‘from-name’: the sending name that shows up in the inbox
Convert a sequence of bytes into a base64 string.
Jump to: | A C E F N S |
---|
Jump to: | A C E F N S |
---|
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Jump to: | F M P S |
---|
Jump to: | F M P S |
---|