1 2007-12-06 Atsushi Enomoto <atsushi@ximian.com>
3 * AlternateView.cs : supply charset info for ContentType.
4 * SmtpClient.cs : for ToQuotedPrintable() input, don't use utf8
5 StreamReader to get input string. Just use Encoding.GetBytes().
8 2007-12-05 Atsushi Enomoto <atsushi@ximian.com>
10 * MailMessage.cs : fixing cosmetic .net compatibility. Automatically
11 fill ASCII when guessed encoding is nothing.
13 2007-12-05 Atsushi Enomoto <atsushi@ximian.com>
15 * SmtpClient.cs : fold base64 string at 76 characters.
16 Should fix bug #344974.
18 2007-12-05 Atsushi Enomoto <atsushi@ximian.com>
20 * Attachment.cs : use correct TransferEncoding when (Text)Encoding
22 * MailMessage.cs : ContentTransferEncoding implementation went into
25 2007-12-04 Arina Itkes <arinai@mainsoft.com>
27 * SmtpException.cs, SmtpFailedRecipientException.cs,
28 SmtpFailedRecipientsException.cs:
29 Changes for SOAP serialization compatibility with .NET.
31 2007-11-05 Atsushi Enomoto <atsushi@ximian.com>
34 * AlternateView.cs : CreateAlternateViewFromString() allows null
36 * SmtpClient.cs : looks like when Body is null and AlternativeViews
37 contains only 1 item, then the alternate view becomes as if it
38 were just a body. To make this possible, added couple of more
39 transfer-encoding conversion methods.
40 For more AlternateViews cases, Body is treated
41 as empty. With attachments it is even complicated: those alternate
42 views are just in one boundary, so do not send empty string.
43 Removed debug output (Console.WriteLine).
47 2007-10-30 Arina Itkes <arinai@mainsoft.com>
49 * SmtpClient.cs: Fix of SmtpClient.Read() method:
50 Added check of string position before calling
51 Substring and IndexOf methods of string.
53 2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
55 * SmtpClient.cs : small async refactory.
57 2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
59 * SmtpClient.cs : Implemented async operations.
61 2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
63 * Attachment.cs : reverted previous change. NameEncoding is not
64 guessed at set_Name().
66 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
68 * SmtpClient.cs : lunatic cyclic build.
70 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
72 * AttachmentBase.cs : implemented Dispose(bool).
74 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
76 * AttachmentCollection.cs : remove TODO.
77 * Attachment.cs : guess NameEncoding when set_Name().
78 * MailMessage.cs : moved encoding guess impl to ContentType.
79 * SmtpClient.cs : moved RFC 2047 encoding impl to ContentType.
80 Support attachment Name encoding. Added some SSL changes (it's not
83 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
85 * SmtpClient.cs : attachment refactory. First, determine whether we
86 send multipart/mixed for attachments. Second, determine whether we
87 send multipart/alternative for AlternateViews.
88 Consider LinkedResources. Mark EnableSsl as TODO.
90 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
92 * LinkedResource.cs : Now they are implemented and soon to be
93 supported. Fixed TransferEncoding (same as other AttachmentBase).
95 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
97 * Attachment.cs : null name is allowed.
99 2007-10-19 Atsushi Enomoto <atsushi@ximian.com>
101 * AlternateView.cs, AttachmentView.cs, AttachmentBase.cs :
102 reverted default back to TransferEncoding.Base64 again, and use
103 QuotedPrintable only when created from string.
104 No need to check null Stream at AlternateView.ctor(). See base.
105 * SmtpClient.cs : For multipart message, do not send body twice (it
106 still emits extraneous part, which should be fixed too).
107 Do not premise charset existence in every AttachmentBase.
109 2007-10-17 Atsushi Enomoto <atsushi@ximian.com>
111 * AlternateView.cs : dispose linked resources. Remove MonoTODOs.
112 * Attachment.cs : check null content string.
113 The string argument in .ctor(Stream,string) is name, not mediaType.
114 Use contentEncoding argument in CreateAttachmentFromString().
115 * AttachmentBase.cs : TransferEncoding default is QuotedPrintable.
117 2007-10-17 Atsushi Enomoto <atsushi@ximian.com>
119 * MailMessage.cs : removed MonoTODO. some comment.
120 * SmtpException.cs, SmtpFailedRecipientsException.cs,
121 SmtpFailedRecipientException.cs : implemented serialization.
123 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
125 * SmtpClient.cs : use 3 StringBuilder.Replace() calls rather than
126 3 string.Replace() calls.
128 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
130 * SmtpClient.cs : do state check on other setters than set_Timeout().
132 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
134 * MailMessage.cs : Some entire refactory on BodyEncoding and
135 IsBodyHtml. BodyEncoding and SubjectEncoding are guessed when
136 Body and Subject are set for each.
138 Subject header is encoded according to RFC 2047.
139 Body is encoded according to RFC 2821.
141 ToQuotedPrintable() should take encoding into consideration.
142 For SevenBit/Unknown TransferEncoding, just decode with ASCII.
143 In set_UseDefaultCredentials(), raise NIE only when value is true.
144 In set_Timeout(), raise an error when Send() is in progress.
146 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
148 * SmtpClient.cs : Replace every \r and \n with \r\n per RFC 2821
149 section 2.3.7, or you will receive SMTP error 451.
151 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
153 * AlternateViewCollection.cs, LinkedResourceCollection.cs,
154 AttachmentCollection.cs : added missing 2.0 members.
156 2007-06-17 Gert Driesen <drieseng@users.sourceforge.net>
158 * MailAddress.cs: Throw ArgumentNullException if address is null.
159 Allow display name to be specified as part of the address. Fixes
160 bug #81854. Return zero-length string in DisplayName if no display
163 2007-05-31 Jeffrey Stedfast <fejj@gnome.org>
165 * SmtpClient.cs: Added an extensions parser to figure out if the
166 ESMTP server supports things like STARTTLS and which AUTH
167 mechanisms are supported. Don't try authenticating if no authmechs
170 2007-05-30 Jeffrey Stedfast <fejj@novell.com>
172 * SmtpClient.cs: Fall back to HELO if EHLO fails. Also, do not
173 write out a Bcc header to the SMTP server - these are meant to be
174 dropped. MAIL FROM: and RCPT TO: commands are not meant to have a
175 space after the colon before the address - this will break on some
178 2007-02-16 Geoff Norton <gnorton@customerdna.com>
180 * SmtpClient.cs: Dont send bare LF. Send <CR><LF> regardless
181 of platform. (ref: http://cr.yp.to/docs/smtplf.html)
183 2007-01-20 Miguel de Icaza <miguel@novell.com>
185 * MailMessage.cs: Add suport to the MailMessage constructor to
186 take a comma-separated list of addresses (Bug #80548).
188 2006-12-12 Miguel de Icaza <miguel@novell.com>
190 * MailMessage.cs: Fix this code so that it correctly reports
191 ArgumentNullExceptions.
193 2006-12-12 Atsushi Enomoto <atsushi@ximian.com>
195 * SmtpClient.cs : use CONFIGURATION_DEP when it is
196 System.Configuration.dll dependent.
198 2006-12-10 David Elkind <davide@mainsoft.com>
200 * Attachment.cs - proper file name handling added
201 * AttachmentBase.cs - proper MIME type handling added
202 * MailAddress.cs - Proper mail address handling ('<' and '>' addition) added
203 * MailMessage.cs - Better construction sequence
204 * SmtpClient.cs - Added proper handling of composite message (consisting of alternate views/attachments)
205 - Added handling of user credentials
206 - Added handling of TLS (under TARGET_JVM)
207 - Some other minor fixes
209 2006-12-04 Konstantin Triger <kostat@mainsoft.com>
211 * SmtpException.cs, SmtpFailedRecipientException.cs: TARGET_JVM limitation workaround.
213 2006-12-01 Sebastien Pouliot <sebastien@ximian.com>
215 * SmtpClient.cs: Added MonoTODO for missing SSL/TLS support and
216 updated existing MonoTODO (or changed them to FIXME) to be clearer
217 for anyone using the API.
219 2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
221 * SmtpException.cs: Fix visibility on .ctor(SerializationInfo,
223 * SmtpPermissionAttribute.cs: New (2.0). Security attribute for SMTP.
224 * SmtpPermission.cs: New (2.0). Security permission for SMTP.
226 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
228 * SmtpClient.cs: TARGET_JVM
230 2006-03-11 Miguel de Icaza <miguel@novell.com>
232 * MailAddress.cs: Comment out unused field to remove warning.
234 2006-1-13 John Luke <john.luke@gmail.com>
236 * MailMessage.cs: add [MonoTODO] for FormatException in ctor,
237 throw ArugmentNullException's from the ctors,
238 add internal BodyContentType property,
239 change BodyEncoding to use BodyContentType,
240 change IsBodyHtml to use BodyContentType,
241 * SmtpClient.cs: set timeout initially to 100000,
242 don't throw ArgumentOutOfRangeException when Timeout = 0,
243 add [MonoTODO] for set_host, and throw Exceptions for it,
244 add [MonoTODO] for UseDefaultCredentials,
245 get messageContentType from the message,
246 use "127.0.0.1" for Host and 25 for Port
247 if host or port is not specified until reading
248 them from the configuration files is done
250 2006-1-02 John Luke <john.luke@gmail.com>
252 * DeliveryNotificationOptions: fix value of Delay
254 2005-12-26 John Luke <john.luke@gmail.com>
256 * AttachmentCollection.cs: mark sealed
257 * DeliveryNotificationOptions.cs: fix values
259 2005-12-25 John Luke <john.luke@gmail.com>
261 * SmtpStatusCode.cs: OK > Ok
262 * AttachmentBase.cs: ContentID > ContentId,
264 * AlternateViewCollection.cs: remove destructor,
265 make default ctor internal
266 * MailMessage.cs: add default ctor,
268 * Attachment.cs: add (string, string) ctor,
270 * LinkedResourceCollection.cs: remove destructor,
271 make default ctor internal
272 * AttachmentCollection.cs: mark Dispose virtual,
273 add ISerializable, make default ctor internal
275 2005-12-24 John Luke <john.luke@gmail.com>
277 * LinkedResource.cs: new File
278 * AttachmentBase.cs: new File
279 * MailPriority.cs: new File
280 * AlternateViewCollection.cs: new File
281 * DeliveryNotificationOptions.cs: new File
282 * SmtpFailedRecipientException.cs: new File
283 * AlternateView.cs: new File
284 * LinkedResourceCollection.cs: new File
285 * MailMessage.cs: add some missing properties, update API for 2.0 final
286 * Attachment.cs: inherit from AttachmentBase, update API for 2.0 final
287 * MailAddress.cs: fix ToString, override Equals and GetHashCode
288 * SmtpFailedRecipientsException.cs: use SmtpFailedRecipientException
289 * SmtpException.cs: add [Serializable], ISerializable
290 * MailAddressCollection.cs: inherit from Collection<MailAddress>
291 * AttachmentCollection.cs: inherit from Collection<Attachment>
292 * SmtpAccess.cs: add missing value
293 * SmtpClient.cs: update for 2.0 final API
294 * SmtpStatusCode.cs: add missing value
295 2005-12-24 John Luke <john.luke@gmail.com>
297 * MailMessage.cs: use text/plain by default,
298 patch by Andy Waddell <awaddell@fnfr.com>,
301 2005-12-22 John Luke <john.luke@gmail.com>
303 * SmtpClient.cs: remove use of TransferEncodings that
304 no longer exist in .net 2 final API
306 2005-12-14 Chris Toshok <toshok@ximian.com>
308 * SmtpDeliveryMethod.cs: new enum.
310 2004-09-10 Tim Coleman <tim@timcoleman.com>
311 * SmtpClient.cs SmtpFailedRecipientsException.cs:
312 Add failed recipient exception handling.
314 2004-09-09 Tim Coleman <tim@timcoleman.com>
315 * AttachmentCollection.cs MailAddressCollection.cs:
317 * Attachment.cs: Set content string
318 * MailMessage.cs: Use new collection classes
319 * SmtpClient.cs: Lots of MIME cleanup
321 2004-09-08 Tim Coleman <tim@timcoleman.com>
322 * Attachment.cs: Add SetContentFromFile methods
323 * MailMessage.cs: Add MIME-Version header
324 * SmtpClient.cs: Add some attachment handling.
326 2004-09-04 Tim Coleman <tim@timcoleman.com>
327 * Attachment.cs MailAddress.cs MailMessage.cs SendCompletedEventHandler.cs
328 * SmtpAccess.cs SmtpClient.cs SmtpException.cs SmtpStatusCode.cs:
329 New class stubs for 2.0