[Mono-bugs] [Bug 607249] New: Don't send plain text SMTP password if not supported

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 19 12:56:16 EDT 2010



           Summary: Don't send plain text SMTP password if not supported
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tedu at fogcreek.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/ Safari/532.5

The SmtpClient Authenticate function only supports AUTH LOGIN.  Until more
methods are added, it really really really should not be just throwing a
plaintext password at the server and hoping it sticks.  Something like the
following needs to be added to the top of the function.

            if ((authMechs & AuthMechs.Login) == 0)
                throw new SmtpException("AUTH LOGIN is not supported by the

Related to bug 552269.

Reproducible: Always

Steps to Reproduce:

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