mail-archives/mono-bugs/2003-July/006071.html

92 строки
3.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 45746][Nor] New - SmtpMail does not accept empty string in Bcc or Cc properties
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="006070.html">
<LINK REL="Next" HREF="006072.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 45746][Nor] New - SmtpMail does not accept empty string in Bcc or Cc properties
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 45746][Nor] New - SmtpMail does not accept empty string in Bcc or Cc properties">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Wed, 2 Jul 2003 15:32:10 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="006070.html">[Mono-bugs] [Bug 43038][Nor] Changed - MCS produces invalid code with infinite loop in a try block
</A></li>
<LI> Next message: <A HREF="006072.html">[Mono-bugs] [Bug 45746][Nor] Changed - SmtpMail does not accept empty string in Bcc or Cc properties
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6071">[ date ]</a>
<a href="thread.html#6071">[ thread ]</a>
<a href="subject.html#6071">[ subject ]</a>
<a href="author.html#6071">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by <A HREF="mailto:gert.driesen@pandora.be.">gert.driesen@pandora.be.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=45746">http://bugzilla.ximian.com/show_bug.cgi?id=45746</A>
--- shadow/45746 Wed Jul 2 15:32:10 2003
+++ shadow/45746.tmp.31822 Wed Jul 2 15:32:10 2003
@@ -0,0 +1,28 @@
+Bug#: 45746
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details: Gentoo 1.4 RC4
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System.Web
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+ReportedBy: <A HREF="mailto:gert.driesen@pandora.be">gert.driesen@pandora.be</A>
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+TargetMilestone: ---
+URL:
+Cc:
+Summary: SmtpMail does not accept empty string in Bcc or Cc properties
+
+The System.Web.Mail.SmtpMail class throws the following exception when an
+empty string is specified for the Bcc or Cc property :
+
+Unhandled Exception: System.Web.HttpException: Invalid e-mail address: ''.
+in &lt;0x00173&gt; 00 System.Web.Mail.SmtpMail:Send (System.Web.Mail.MailMessage)
+in &lt;0x000c4&gt; 00 Mail.Test:Main ()
+
+Specifying an empty string for these properties works fine on .NET.
+
+I've included a test case that allows you to reproduce this issue.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="006070.html">[Mono-bugs] [Bug 43038][Nor] Changed - MCS produces invalid code with infinite loop in a try block
</A></li>
<LI> Next message: <A HREF="006072.html">[Mono-bugs] [Bug 45746][Nor] Changed - SmtpMail does not accept empty string in Bcc or Cc properties
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6071">[ date ]</a>
<a href="thread.html#6071">[ thread ]</a>
<a href="subject.html#6071">[ subject ]</a>
<a href="author.html#6071">[ author ]</a>
</LI>
</UL>
</body></html>