You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Thomas Höhler (JIRA)" <ji...@apache.org> on 2007/12/10 11:40:43 UTC
[jira] Commented: (LOG4NET-128) Either documentation is incorrect
or a bug in SmtpAppender
[ https://issues.apache.org/jira/browse/LOG4NET-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550003 ]
Thomas Höhler commented on LOG4NET-128:
---------------------------------------
This is a bug in the documentation for the .Net 2.0 version. The msdn documentation for the "to" parameter says:
1. The e-mail addresses to add to the MailAddressCollection. Multiple e-mail addresses must be separated with a comma character (",").
2. "If multiple e-mail addresses separated with a semicolon character (";") are passed in the addresses parameter. a FormatException exception is raised."
The .Net 1.1 version uses System.Web.Mail where the receipients have to be added semicolon separated. .Net 2.0 uses System.Net.Mail where the receipients have to be added comma separeted. (Why in the hell do they change this behaviour from semicolon to comma where all toher standards are using semicolon???)
> Either documentation is incorrect or a bug in SmtpAppender
> ----------------------------------------------------------
>
> Key: LOG4NET-128
> URL: https://issues.apache.org/jira/browse/LOG4NET-128
> Project: Log4net
> Issue Type: Bug
> Components: Appenders, Documentation
> Affects Versions: 1.2.10
> Environment: Windows 2003 Server EN (fully patched), .NET 2.0
> Reporter: Thomas Höhler
> Priority: Minor
>
> Sending the mails via SmtpAppender to more than one receipient fails as described in the documentation. The documentation says that all receipients should be added semicolon-separated. This fails, but adding the receipients comma-separated works. So, either the documentaion is incorrect or this is a bug.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.