I have pinpointed the problem what happens is this :

daniel-wijnands-powerbook58:~/Desktop/mailing danielwijnands$ ruby 
script/runner 'Spool.spool'
General spool error Net::SMTPServerBusy 450 <pietitxl.nl>: User unknown 
in local recipient table
General spool error Net::SMTPSyntaxError 503 Error: nested MAIL command
General spool error Net::SMTPSyntaxError 503 Error: nested MAIL command

The problem is that i'm sending multiple messages.
When te exception occurs ( Net::SMTPServerBusy 450 ) the server still 
has the message open.
When i send another message it says Nested Mail command.

Is it possible to reset the connnection or the previous command ?


-- 
Posted via http://www.ruby-forum.com/.