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