Log4net
  1. Log4net
  2. LOG4NET-116

allow smtp to ssl authenticate and with certificates.

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2.10
    • Fix Version/s: 1.2.11
    • Component/s: Appenders
    • Labels:
      None
    • Environment:
      .net 2.0
      windows

      Description

      It would be fantastic if more of the SMTP feature of .net 2.0 would be allowed such as
      SSL authentication and with certificates.

        Activity

        Hide
        Ron Grabowski added a comment -

        Fixed in r667802.

        Show
        Ron Grabowski added a comment - Fixed in r667802.
        Hide
        Jozef Sevcik added a comment -

        Attached please find patch that adds EnableSsl for use with .NET 2.0 environment.
        It's using .NET 2.0 SmtpClient.EnableSsl property.

        Show
        Jozef Sevcik added a comment - Attached please find patch that adds EnableSsl for use with .NET 2.0 environment. It's using .NET 2.0 SmtpClient.EnableSsl property.
        Hide
        Curt Arnold added a comment -

        Many ISP SMTP servers are starting to require authentication or SSL, so it isn't that out of scope. Digitally signing or encrypting messages would be a stretch in my opinion.

        There were a decent set of changes to log4j's SMTPAppender in the last year or so to improve configurability and authentication. You should check that code for any new properties to try to maintain consistency.

        I'm think that SSL encrypting of the traffic between log4j and a SMTP server is handled by JavaMail and is transparent to log4j, but I could be wrong.

        Use of certificates to digitally sign log emails seems wrong since it would be affixing someone's identity to a email message without their involvement. But maybe you were talking about the SSL certificates instead.

        Show
        Curt Arnold added a comment - Many ISP SMTP servers are starting to require authentication or SSL, so it isn't that out of scope. Digitally signing or encrypting messages would be a stretch in my opinion. There were a decent set of changes to log4j's SMTPAppender in the last year or so to improve configurability and authentication. You should check that code for any new properties to try to maintain consistency. I'm think that SSL encrypting of the traffic between log4j and a SMTP server is handled by JavaMail and is transparent to log4j, but I could be wrong. Use of certificates to digitally sign log emails seems wrong since it would be affixing someone's identity to a email message without their involvement. But maybe you were talking about the SSL certificates instead.
        Hide
        Ron Grabowski added a comment -

        Could you post some example code showing how to use certificates for sending mail?

        I suspect this is outside the scope of what a typical user needs from the SmtpAppender.

        Show
        Ron Grabowski added a comment - Could you post some example code showing how to use certificates for sending mail? I suspect this is outside the scope of what a typical user needs from the SmtpAppender.

          People

          • Assignee:
            Ron Grabowski
            Reporter:
            david olszewski
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development