At 18:58 4/28/2004, you wrote:
> > Is there a limit to the number of characters that can be sent to the
> > connected SMTP client using SMTPSendError? In glancing through it, I can't
> > see a limit, but I'm getting session hangs with some of my error messages
> > (which are, admittedly, fairly long)...
>
>512

So, if I add a local routine that will convert "\n" to CRLF, the following 
string would be within the limits?

"450-Your mail has been blocked from my server.\n450-Your mail was blocked 
because the IP address of your server\n450-has been found in the headers of 
unacceptable mail (spam)\n450-received here. Examples of unacceptable mail 
would be:\n450-viruses, bounces to forged senders, unsolicited bulk 
email,\n450-or any mail which generates complaints from my users.\n450-For 
questions, or to remove my local block, please visit\n450 
http://www.arisiasoft.com/Mailblock/blocked.aspx";

The reason I ask is because I'm logging some session data (including the 
string sent back to the client), and it appears to be getting truncated 
about 1/2 way through. Of course, this could be an artifact of the logging 
I'm using - it may be getting truncated when logging rather than when sent 
to the client.  

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to