2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System.Web / System.Web.Mail / MailMessage.cs
index fea1d167846b9e6e6e9dcb41539d0240d22826be..cd0eb98f335acffd35fc1271e0376bbb180f0328 100644 (file)
@@ -4,6 +4,9 @@
 // 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
 
 //
@@ -60,6 +63,9 @@ namespace System.Web.Mail
                        bodyEncoding = Encoding.Default;
 #if NET_1_1
                        fields = new Hashtable ();\r
+#endif
+#if NET_2_0
+                       bodyParts = new ArrayList (2);
 #endif
                }               \r
        \r
@@ -136,6 +142,15 @@ namespace System.Web.Mail
                        }\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