2007-10-17 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System / System.Net.Mail / ChangeLog
1 2007-10-17  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * MailMessage.cs : removed MonoTODO. some comment.
4         * SmtpException.cs, SmtpFailedRecipientsException.cs,
5           SmtpFailedRecipientException.cs : implemented serialization.
6
7 2007-10-16  Atsushi Enomoto  <atsushi@ximian.com>
8
9         * SmtpClient.cs : use 3 StringBuilder.Replace() calls rather than
10           3 string.Replace() calls.
11
12 2007-10-16  Atsushi Enomoto  <atsushi@ximian.com>
13
14         * SmtpClient.cs : do state check on other setters than set_Timeout().
15
16 2007-10-16  Atsushi Enomoto  <atsushi@ximian.com>
17
18         * MailMessage.cs : Some entire refactory on BodyEncoding and
19           IsBodyHtml. BodyEncoding and SubjectEncoding are guessed when
20           Body and Subject are set for each.
21         * SmtpClient.cs :
22           Subject header is encoded according to RFC 2047.
23           Body is encoded according to RFC 2821.
24           Output Date header.
25           ToQuotedPrintable() should take encoding into consideration.
26           For SevenBit/Unknown TransferEncoding, just decode with ASCII.
27           In set_UseDefaultCredentials(), raise NIE only when value is true.
28           In set_Timeout(), raise an error when Send() is in progress.
29
30 2007-10-16  Atsushi Enomoto  <atsushi@ximian.com>
31
32         * SmtpClient.cs : Replace every \r and \n with \r\n per RFC 2821 
33           section 2.3.7, or you will receive SMTP error 451.
34
35 2007-10-16  Atsushi Enomoto  <atsushi@ximian.com>
36
37         * AlternateViewCollection.cs, LinkedResourceCollection.cs,
38           AttachmentCollection.cs : added missing 2.0 members.
39
40 2007-06-17  Gert Driesen  <drieseng@users.sourceforge.net>
41
42         * MailAddress.cs: Throw ArgumentNullException if address is null.
43         Allow display name to be specified as part of the address. Fixes
44         bug #81854. Return zero-length string in DisplayName if no display 
45         name is set.
46
47 2007-05-31  Jeffrey Stedfast  <fejj@gnome.org>
48
49         * SmtpClient.cs: Added an extensions parser to figure out if the
50         ESMTP server supports things like STARTTLS and which AUTH
51         mechanisms are supported. Don't try authenticating if no authmechs
52         are supported.
53
54 2007-05-30  Jeffrey Stedfast  <fejj@novell.com>
55
56         * SmtpClient.cs: Fall back to HELO if EHLO fails. Also, do not
57         write out a Bcc header to the SMTP server - these are meant to be
58         dropped. MAIL FROM: and RCPT TO: commands are not meant to have a
59         space after the colon before the address - this will break on some
60         SMTP servers.
61
62 2007-02-16  Geoff Norton  <gnorton@customerdna.com>
63
64         * SmtpClient.cs: Dont send bare LF.  Send <CR><LF> regardless
65         of platform.  (ref: http://cr.yp.to/docs/smtplf.html)
66
67 2007-01-20  Miguel de Icaza  <miguel@novell.com>
68
69         * MailMessage.cs: Add suport to the MailMessage constructor to
70         take a comma-separated list of addresses (Bug #80548). 
71
72 2006-12-12  Miguel de Icaza  <miguel@novell.com>
73
74         * MailMessage.cs: Fix this code so that it correctly reports
75         ArgumentNullExceptions.
76
77 2006-12-12  Atsushi Enomoto  <atsushi@ximian.com>
78
79         * SmtpClient.cs : use CONFIGURATION_DEP when it is
80           System.Configuration.dll dependent.
81
82 2006-12-10  David Elkind  <davide@mainsoft.com>
83
84         * Attachment.cs - proper file name handling added
85         * AttachmentBase.cs - proper MIME type handling added
86         * MailAddress.cs - Proper mail address handling ('<' and '>' addition) added
87         * MailMessage.cs - Better construction sequence
88         * SmtpClient.cs - Added proper handling of composite message (consisting of alternate views/attachments)
89                         - Added handling of user credentials 
90                         - Added handling of TLS (under TARGET_JVM)
91                         - Some other minor fixes
92
93 2006-12-04  Konstantin Triger  <kostat@mainsoft.com>
94
95         * SmtpException.cs, SmtpFailedRecipientException.cs: TARGET_JVM limitation workaround.
96
97 2006-12-01  Sebastien Pouliot  <sebastien@ximian.com>
98
99         * SmtpClient.cs: Added MonoTODO for missing SSL/TLS support and 
100         updated existing MonoTODO (or changed them to FIXME) to be clearer
101         for anyone using the API.
102
103 2006-10-31  Sebastien Pouliot  <sebastien@ximian.com>
104
105         * SmtpException.cs: Fix visibility on .ctor(SerializationInfo,
106         StreamingContext).
107         * SmtpPermissionAttribute.cs: New (2.0). Security attribute for SMTP.
108         * SmtpPermission.cs: New (2.0). Security permission for SMTP.
109
110 2006-09-28  Andrew Skiba  <andrews@mainsoft.com>
111
112         * SmtpClient.cs: TARGET_JVM
113
114 2006-03-11  Miguel de Icaza  <miguel@novell.com>
115
116         * MailAddress.cs: Comment out unused field to remove warning. 
117
118 2006-1-13  John Luke  <john.luke@gmail.com>
119
120         * MailMessage.cs: add [MonoTODO] for FormatException in ctor,
121         throw ArugmentNullException's from the ctors,
122         add internal BodyContentType property,
123         change BodyEncoding to use BodyContentType,
124         change IsBodyHtml to use BodyContentType,
125         * SmtpClient.cs: set timeout initially to 100000,
126         don't throw ArgumentOutOfRangeException when Timeout = 0,
127         add [MonoTODO] for set_host, and throw Exceptions for it,
128         add [MonoTODO] for UseDefaultCredentials,
129         get messageContentType from the message,
130         use "127.0.0.1" for Host and 25 for Port
131         if host or port is not specified until reading
132         them from the configuration files is done
133
134 2006-1-02  John Luke  <john.luke@gmail.com>
135
136         * DeliveryNotificationOptions: fix value of Delay
137         
138 2005-12-26  John Luke  <john.luke@gmail.com>
139
140         * AttachmentCollection.cs: mark sealed
141         * DeliveryNotificationOptions.cs: fix values
142         
143 2005-12-25  John Luke  <john.luke@gmail.com>
144
145         * SmtpStatusCode.cs: OK > Ok
146         * AttachmentBase.cs: ContentID > ContentId,
147         add set_ContentType
148         * AlternateViewCollection.cs: remove destructor,
149         make default ctor internal
150         * MailMessage.cs: add default ctor,
151         remove destructor
152         * Attachment.cs: add (string, string) ctor,
153         add set_NameEncoding
154         * LinkedResourceCollection.cs: remove destructor,
155         make default ctor internal
156         * AttachmentCollection.cs: mark Dispose virtual,
157         add ISerializable, make default ctor internal
158
159 2005-12-24  John Luke  <john.luke@gmail.com>
160
161         * LinkedResource.cs: new File
162         * AttachmentBase.cs: new File
163         * MailPriority.cs: new File
164         * AlternateViewCollection.cs: new File
165         * DeliveryNotificationOptions.cs: new File
166         * SmtpFailedRecipientException.cs: new File
167         * AlternateView.cs: new File
168         * LinkedResourceCollection.cs: new File
169         * MailMessage.cs: add some missing properties, update API for 2.0 final 
170         * Attachment.cs: inherit from AttachmentBase, update API for 2.0 final
171         * MailAddress.cs: fix ToString, override Equals and GetHashCode
172         * SmtpFailedRecipientsException.cs: use SmtpFailedRecipientException
173         * SmtpException.cs: add [Serializable], ISerializable
174         * MailAddressCollection.cs: inherit from Collection<MailAddress>
175         * AttachmentCollection.cs: inherit from Collection<Attachment>
176         * SmtpAccess.cs: add missing value
177         * SmtpClient.cs: update for 2.0 final API
178         * SmtpStatusCode.cs: add missing value
179 2005-12-24  John Luke  <john.luke@gmail.com>
180
181         * MailMessage.cs: use text/plain by default,
182         patch by Andy Waddell <awaddell@fnfr.com>,
183         fixes bug #76972
184
185 2005-12-22  John Luke  <john.luke@gmail.com>
186
187         * SmtpClient.cs: remove use of TransferEncodings that
188         no longer exist in .net 2 final API
189         
190 2005-12-14  Chris Toshok  <toshok@ximian.com>
191
192         * SmtpDeliveryMethod.cs: new enum.
193
194 2004-09-10  Tim Coleman <tim@timcoleman.com>
195         * SmtpClient.cs SmtpFailedRecipientsException.cs:
196                 Add failed recipient exception handling.
197
198 2004-09-09  Tim Coleman <tim@timcoleman.com>
199         * AttachmentCollection.cs MailAddressCollection.cs:
200                 New classes
201         * Attachment.cs: Set content string
202         * MailMessage.cs: Use new collection classes
203         * SmtpClient.cs: Lots of MIME cleanup
204
205 2004-09-08  Tim Coleman <tim@timcoleman.com>
206         * Attachment.cs: Add SetContentFromFile methods
207         * MailMessage.cs: Add MIME-Version header
208         * SmtpClient.cs: Add some attachment handling.
209
210 2004-09-04  Tim Coleman <tim@timcoleman.com>
211         * Attachment.cs MailAddress.cs MailMessage.cs SendCompletedEventHandler.cs
212         * SmtpAccess.cs SmtpClient.cs SmtpException.cs SmtpStatusCode.cs:
213                 New class stubs for 2.0