Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: File writing issue

From: brett:codeconscious at: 5-Nov-2003 11:32

Hi Matt, A few notes on your email. 1) Your HELO line is misspelt below to be EHLO. 2) Your code just blindly "dumps" the HELO along with MAIL FROM and RCPT TO and the rest of the message down the line - it does not wait on and check for server responses to these first three. With SMTP, HELO and QUIT could take a little while to occur. On the HELO the SMTP server needs to acquire a lock on the mailbox, on the QUIT it processes any deletions and releases the lock (who knows what else it could be doing). So with multiple clients coming in, you really need to wait to check that you get the lock. 3) Why not use SEND instead of your own code? It will wait on the HELO and check the response. You can add custom headers in using the /HEADER refinement of SEND. 4) Have you checked that the process your server code runs in has the necessary privileges? Perhaps you should add some code to write a log to a text file - to ensure that that it is doing what you hope it is doing. Regards, Brett.