You are looking at historical revision 26051 of this page. It may differ significantly from its current revision.
Contact me at email@example.com.
List of Parameters
api-user[parameter] (api-user user)
This is your SendGrid api user specified as a string.
api-key[parameter] (api-key key)
This is your SendGrid api key specified as a string.
List of Procedures
send-mail[procedure] (send-mail #!key (subject #f) (text #f) (html #f) (from #f) (from-name #f) (to #f) (reply-to #f) (api-user (api-user)) (api-key (api-key)))
Takes all the required arguments, passes a request on to SendGrid, and returns the SendGrid response in list form. api-user and api-key are optional if you specified them as parameters.
Only html or text needs to be specified. If html is specified, then the resulting email will be in HTML format. If both html and text are specified, then the resulting email will only include the contents of html.
(use send-grid) (api-user "api-user") (api-key "api-key") (send-mail from: "firstname.lastname@example.org" to: "email@example.com" from-name: "Example Name" reply-to: "firstname.lastname@example.org" subject: "Example Subject" text: "Example text.")
Fix some install bugs.