[plt-scheme] send-mail-message

From: Robby Findler (robby at cs.uchicago.edu)
Date: Tue Jul 12 15:07:54 EDT 2005

Also consider looking at the docs for "head.ss", a library in the net
collection. It helps make sure you make well-formed headers.

Robby

At Tue, 12 Jul 2005 13:49:51 -0500, Jacob Matthews wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> Arend P. van der Veen wrote:
> 
> > We need to specify a seperate reply-to and from strings.  Can 
> > extra-headers-list-of-strings be used to do this?  If yes, can someone 
> > show me how to create the header?
> 
> Sure.
> 
> (send-mail-message "[the from email address]"
>                      "[subject]"
>                      recipient-list
>                      cc-list
>                      bcc-list
>                      '("[email body ...]")
>                      "Reply-To: [reply-to address]")
> 
> Note that the docs are a bit confusing on this point: you don't pass in 
> a list of extra header strings, you just call the function with as many 
> extra string arguments as you want extra headers, which is why that 
> "Reply-To:" line is not wrapped in a list.
> 
> -jacob



Posted on the users mailing list.