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

From: Thomas Chust (chust at web.de)
Date: Wed Apr 22 14:09:18 EDT 2009

2009-04-22 -gary- <gary.dunne1 at gmail.com>:
> [...]
> "Your application raised an exception with the message:
>
> procedure application: expected procedure, given: "test at site.com" (no
> arguments)"
> [...]

Hello Gary,

your code contains the subexpression ("test at site.com") which is, like
any list, interpreted as a procedure call and causes the error you see
since the string "test at site.com" is certainly not a procedure. You
probably want to quote that list or call a list constructor procedure
at that point...

cu,
Thomas


-- 
When C++ is your hammer, every problem looks like your thumb.


Posted on the users mailing list.