[Mono-bugs] [Bug 565268] New: SMTPClient fails to do . encoding

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 16 14:21:36 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=565268

http://bugzilla.novell.com/show_bug.cgi?id=565268#c0


           Summary: SMTPClient fails to do . encoding
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: kees at mietje.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
Media Center PC 6.0; .NET4.0C; .NET4.0E)

SmtpClient should encode . as .. if it is the first character on a line. 
The line containing . is the SMTP code for end data.

So 
hello
.
there 

should be sent as 
hello
.
there
.

To the smtp server

hello there 
should be sent as
.hello there

Reproducible: Always

Steps to Reproduce:
1. Create Mailmessage with the following content
hello 
.
there
2.Send the message with the smtp client

Actual Results:  
Mail is send with the following contents:
hello 

SMTP server gives an error on there...

Expected Results:  
Mail is sent with the following contents:
hello
.
there

We fixed our instance of the code, I'll try to attach it later.

-- 
Configure bugmail: http://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.


More information about the mono-bugs mailing list