On Tue, 9 Sep 2003, Dilip Menon wrote:
>Thats true. But if the RFC states 256 characters, what do they mean?
>Does it mean from '<' to '>' or do they only imply the smtpaddress in the
>form of [EMAIL PROTECTED]

It means without the < and >, and it's a known fact that there are domains
out there that break this limit.

>IMAP should also necessarily stick to the standards for the From, To etc.
>fields in APPEND or similar commands.
>Or can we have our own assumption of the RFC?

If someone sends you a garbage message and the SMTP gateway let it
through, then the IMAP server can display it as NIL, or just the way it
was accepted. Anyway it's garbage.

So it's up to you. But please don't "char domain[256];" without checking 
those boundaries ;).

Andy

-- 
Andreas Aardal Hanssen
http://www.bincimap.org/

Reply via email to