[plt-scheme] send-mail-message
Also, if you're not doing that already, you probably want to begin
your file with
#lang scheme
(on the first line) and then use the "module" language in DrScheme.
Robby
On Wed, Apr 22, 2009 at 12:18 PM, John Clements
<clements at brinckerhoff.org> wrote:
>
> On Apr 22, 2009, at 9:52 AM, -gary- wrote:
>
>> Hi,
>>
>> I am new to Scheme and am trying to send an email as follows:
>>
>> (send-mail-message "test at test.com"
>> "message-subject"
>> ( "test at test.com" )
>> '()
>> '()
>> ("test"))
>>
>>
>> I am getting the following compiler error:
>> "unbound identifier in module in: send-mail-message"
>>
>> Could anyone please tell me what I'm doing wrong?
>
> I bet you're not familiar with PLT scheme's built-in documentation. Try
> hitting F1 when the cursor is over the send-mail-message identifier.
> Apologies if you've already read these docs.
>
> I just checked myself, and it appears that you need to have this:
>
> (require net/sendmail)
>
> in your code in order to make this function available.
>
> All the best,
>
> John Clements
>
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>