[Mono-bugs] [Bug 644816] New: enableSsl is not supported in system.net/mailSettings/smtp/network section of configuration

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 7 20:59:16 EDT 2010



           Summary: enableSsl is not supported in
                    system.net/mailSettings/smtp/network section of
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Configuration
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: francois.rouaix at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us)
AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5

MSDN documents a property "enableSsl" in the network element, so it should be
allowed to write
        <network host="smtp.gmail.com" port="587"
userName="johndoe at example.com" password="something" enableSsl="true"/>

Without support for this property, one cannot take advantage of the automatic
email sending in ASP.NET CreateUserWizard when one wishes to use an SMTP server
that requires SSL (such as GMail).

Reproducible: Always

Steps to Reproduce:
1. Create an ASP.NET project with a CreateUserWizard configured to send email
2. Insert the section shown above in the web.config, 
3. Compile/Run/Create account with the wizard
Actual Results:  
Observe the exception when the config section is parsed.

Expected Results:  
enableSsl should have been accepted and should have caused the SmtpClient used
by ASP.NET to be SSL enabled.

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.

More information about the mono-bugs mailing list