// Author:\r
// Lawrence Pit (loz@cable.a2000.nl)\r
// Per Arneng (pt99par@student.bth.se)\r
+// Sanjay Gupta (gsanjay@novell.com)
+//
+// (c)2004 Novell, Inc. (http://www.novell.com)
//\r
//
private string to;\r
private string urlContentBase;\r
private string urlContentLocation;
- private Hashtable fields;\r
\r
// Constructor \r
public MailMessage ()\r
attachments = new ArrayList (8);\r
headers = new ListDictionary ();\r
bodyEncoding = Encoding.Default;
+#if NET_1_1
fields = new Hashtable ();\r
+#endif
+#if NET_2_0
+ bodyParts = new ArrayList (2);
+#endif
} \r
\r
// Properties\r
}\r
\r
#if NET_1_1\r
+ private Hashtable fields;\r
+
public IDictionary Fields {\r
get {
return (IDictionary) fields;
}\r
}\r
#endif\r
+
+#if NET_2_0
+ private ArrayList bodyParts;
+
+ public IList RelatedBodyParts {
+ get { return (IList) bodyParts; }
+ }
+#endif
+
}\r
\r
} //namespace System.Web.Mail\r