http://bugzilla.novell.com/show_bug.cgi?id=578271
http://bugzilla.novell.com/show_bug.cgi?id=578271#c0 Summary: System.Net.Mail.SmtpClient ReplyTo header is incorrect Classification: Mono Product: Mono: Class Libraries Version: SVN Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: System AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) Setting the ReplyTo property on a MailMessage results in an incorrect SMTP header being set. E.g. (C#): mailMessage.ReplyTo = new MailAddress("[email protected]","Example user"); results in the following e-mail header: ReplyTo: "Example user" <[email protected]> The problem appears to be due to a missing hyphen on line 683 of /trunk/mcs/class/System/System.Net.Mail/SmtpClient.cs. SendHeader ("ReplyTo", EncodeAddresses (message.ReplyToList)); should be changed to: SendHeader ("Reply-To", EncodeAddresses (message.ReplyToList)); I saw the problem in version 2.4.3 and it appears to be still present in the SVN trunk code. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
