Skip to content

Instantly share code, notes, and snippets.

@joekarma
Created October 19, 2012 04:22
Show Gist options
  • Save joekarma/3916212 to your computer and use it in GitHub Desktop.
Save joekarma/3916212 to your computer and use it in GitHub Desktop.
Simple example of cl-sendmail being used to send an HTML based email. Use cl-smtp instead.
(cl-sendmail:with-email (html "[email protected]" :from "[email protected]" :subtype "html")
(setf (cl-sendmail::content html)
(xmls:parse "<body><h1>Testing</h1><p>This is a test!</p></body>")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment