[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


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

https://bugzilla.novell.com/show_bug.cgi?id=644816#c0


           Summary: enableSsl is not supported in
                    system.net/mailSettings/smtp/network section of
                    configuration
    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
  <system.net>
  <mailSettings>
  <smtp>
        <network host="smtp.gmail.com" port="587"
userName="johndoe at example.com" password="something" enableSsl="true"/>
  </smtp>
  </mailSettings>
  </system.net>

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