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


           Summary: Sys.Net.Mail: Special characters in header fields are
                    not encoded
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


Created an attachment (id=214519)
 --> (https://bugzilla.novell.com/attachment.cgi?id=214519)
mailtest.cs - test case

Running the attached sample results in following mail message to be sent:

================
Delivered-To: [EMAIL PROTECTED]
Date: Mon, 12 May 2008 22:34:14 +0200
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: =?utf-8?B?VGl0bGXDtsOkw7w=?=
MIME-Version: 1.0
Umlaute: Testöäü
Key1: Line 1
Message-Id: <[EMAIL PROTECTED]>

Line 2
Line 3
Key2: Test
Content-Type: text/plain; charset=us-ascii

Content
================

The newline char in header field "key1" pushes the following lines into the
body of message! The string "Testöäü" should be encoded as well.


The sample program takes 3 arguments:
- "from" mail address
- "to" mail address
- smtp hostname


-- 
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