https://bugzilla.novell.com/show_bug.cgi?id=344974

           Summary: SmtpClient does not respect max line lengths on Base64
                    encoded mime parts
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: x86-64
        OS/Version: RHEL 5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


RFC 2045 section 2.8 states:
"The encoded output stream must be represented in lines of no more than 76
characters each"

And:
"Any characters outside of the base64 alphabet are to be ignored in
base64-encoded data."

RFC 2822 section 2.1.1 also imposes 78 characters plus CRLF line limit.

Right now base64 output generated by SmtpClient is generated as just one single
long line. For large attachments it will even violate the hard limit of 998
chars from RFC 2822 section 2.1.1.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to