| 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: |
(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: |
+mail-server+ is a string containing the server name.
For example "localhost" or "mail.whatever.com".