<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
sendmail only available under Unix<br>
:(<br>
Unix doesn't work on my machine...<br>
<br>
Katsmall the Wise<br>
<br>
Noel Welsh wrote:<br>
<blockquote type="cite"
 cite="mid20030412071928.56294.qmail@web41205.mail.yahoo.com">
  <pre wrap="">  For list-related administrative tasks:
  <a class="moz-txt-link-freetext" href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a>

--- Katsmall the Wise <a class="moz-txt-link-rfc2396E" href="mailto:kela_bit@netvision.net.il">&lt;kela_bit@netvision.net.il&gt;</a>
wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I am interested...
I am still quite unsure about what to use and how.
    </pre>
  </blockquote>
  <pre wrap=""><!---->

This is what I do to send email:

(require (lib "sendmail.ss" "net")
         (lib "head.ss" "net")
         (lib "list.ss"))

(define server "127.0.0.1")
(define subject "Blah blah blah")
(define recipients (list <a class="moz-txt-link-rfc2396E" href="mailto:noelwelsh@yahoo.com">"noelwelsh@yahoo.com"</a>))
(define sender <a class="moz-txt-link-rfc2396E" href="mailto:noelwelsh@yahoo.com">"noelwelsh@yahoo.com"</a>)
(define header 
  (insert-field "From"
                sender
                (foldl (lambda (field header)
                         (insert-field "To" field
header))
                       empty-header
                       recipients)))
(define message
  (list "Test message"))

(send-mail-message sender subject recipients '() '()
message)

HTH,
Noel



=====
Email: noelwelsh &lt;at&gt; yahoo &lt;dot&gt; com
Jabber: noelw &lt;at&gt; jabber &lt;dot&gt; org

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
<a class="moz-txt-link-freetext" href="http://tax.yahoo.com">http://tax.yahoo.com</a>

  </pre>
</blockquote>
</body>
</html>