[plt-scheme] Re: send-mail-message

From: -gary- (gary.dunne1 at gmail.com)
Date: Wed Apr 22 13:29:51 EDT 2009

Hi John,

Thank you for that, that was my problem.
After resolving that I got a response of:

"Your application raised an exception with the message:

procedure application: expected procedure, given: "test at site.com" (no
arguments)"

According to what I've read so far, I seem to have the send-mail-
message format correct.

Thanks again for the response.


On Apr 22, 1:18 pm, John Clements <cleme... 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 "t... at test.com"
> >                        "message-subject"
> >                        ( "t... 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
>
>  smime.p7s
> 3KViewDownload
>
> _________________________________________________
>   For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.