A link to start: <a href="http://en.wikipedia.org/wiki/MIME#Multipart_messages">http://en.wikipedia.org/wiki/MIME#Multipart_messages</a><span></span><br><br>On Sunday, October 21, 2012, Greg Hendershott  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think you&#39;ll need to make the body be in the form of a multipart message to do attachments. If you also want the images to be inline, you&#39;ll need an HTML part laying out where.<span></span><br><br>On Saturday, October 20, 2012, Daniel Force  wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does anyone know how to send an image with an email? I can&#39;t find any<br>
documentation online.<br>
<br>
I can send the list-of-strings email via the following code just fine:<br>
<br>
(require (lib &quot;smtp.ss&quot; &quot;net&quot;)<br>
         (lib &quot;dns.ss&quot; &quot;net&quot;)<br>
         (lib &quot;mzssl.ss&quot; &quot;openssl&quot;)<br>
         (lib &quot;head.ss&quot; &quot;net&quot;))<br>
<br>
(smtp-send-message<br>
 (dns-get-address (dns-find-nameserver) &quot;<a href="http://smtp.gmail.com" target="_blank">smtp.gmail.com</a>&quot;) ; server-string<br>
 &quot;<a>dummy@gmail.com</a>&quot; ; from-string<br>
 &#39;(&quot;<a>joe@smoo.com</a>&quot;) ; to-list-of-strings<br>
 (standard-message-header<br>
                          &quot;<a>dummy@gmail.com</a>&quot;<br>
                          &#39;(&quot;<a>joe@smoo.com</a>&quot;)<br>
                          &#39;()<br>
                          &#39;()<br>
                          &quot;The subject is...&quot;<br>
)<br>
 `(&quot;Howdy, Just testing... &quot;  ) ;; message-list-of-strings/bytes<br>
 #:port-no 465<br>
 #:auth-user &quot;dummy&quot;  ; for gmail don&#39;t include the @<a href="http://gmail.com" target="_blank">gmail.com</a><br>
 #:auth-passwd &quot; abc def ghi jkl &quot; ; gmail special password that bypasses dual<br>
verification<br>
 #:tcp-connect ssl-connect)<br>
<br>
Thanks,<br>
Dan<br>
<br>
____________________<br>
  Racket Users list:<br>
  <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote>
</blockquote>