Paste number 69508: sending html email with cl-smtp

Index of paste annotations: 1

Paste number 69508: sending html email with cl-smtp
Pasted by: ryepup
When:1 year, 3 months ago
Share:Tweet this! | http://paste.lisp.org/+1HMS
Channel:None
Paste contents:
Raw Source | XML | Display As
  (cl-smtp:send-email
   +mail-server+
   "from-email@example.com"
   "to-email@example.com"
   "Subject"   
   "<html><body>
<p>
Shiny <strong>h</strong><em>t</em><small>m</small>l.
</p>
<p>
</body></html>"
   :extra-headers '(("Content-type" "text/html; charset=\"iso-8859-1\"")))

Annotations for this paste:

Annotation number 1: +mail-server+
Pasted by: kzar
When:1 year, 2 months ago
Share:Tweet this! | http://paste.lisp.org/+1HMS/1
Paste contents:
Raw Source | Display As
+mail-server+ is a string containing the server name. 

For example "localhost" or "mail.whatever.com".

Colorize as:
Show Line Numbers
Index of paste annotations: 1

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.