[plt-scheme] send-mail-message

From: Jacob Matthews (jacobm at cs.uchicago.edu)
Date: Tue Jul 12 14:49:51 EDT 2005

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.