There is a MIME validation tool at:

http://www.apps.ietf.org/msglint.html

It's quite picky about boundary markers.

- Chris

begin quotation by Sang Park on 2003/2/24 13:59 -0500:


I know that this isn't necessarily about IMAP but I was wondering if anyone here has ever come across a mime validation tool while developing an IMAP server or client. The reason I ask is because an IMAP/SMTP API that I've developed has come across a bug where in a message with only a text/plain body part the Content-Type header of the message would read Content-Type: text/plain; boundary="--xxxx--";

someone notified me that a boundary parameter on a single part message is
NOT valid mime and causes problems with servers and clients that adhere
strictly to the RFC.
First of all, according to my understanding of RFC1521, there should be
no boudnary parameter when creating a message with only one part.  can
anyone just verify my understanding of this?
Secondly, I was wondering if anyone has come across a tool for validating
the MIME of a message that validates it's syntax strictly according to
the RFC1521. Ideally, all mail clients and servers would be RFC1521
compliant but this is not the case.
If the answer to the above question is no, would people be interested in
such a tool?
Thanks in advance for any feedback or comments!

s.park




Reply via email to