1 2008-04-03 Juraj Skripsky <js@hotfeet.ch>
3 * Attachment.cs (InitName): Use Path.GetFileName instead of Substring hack.
6 2008-01-29 Juraj Skripsky <js@hotfeet.ch>
8 * SmtpClient.cs (ToQuotedPrintable): Escape the escape character "=".
10 2008-01-29 Juraj Skripsky <js@hotfeet.ch>
12 * SmtpClient.cs: Remove ':' from the time zone offset in the
13 mail's date field. Fixes bug #351443.
14 (ToQuotedPrintable): Make sure text encoded as quoted-printable does
15 not contain more then 76 chars per line (required by rfc1521). Fixes
18 2007-12-06 Atsushi Enomoto <atsushi@ximian.com>
20 * AlternateView.cs : supply charset info for ContentType.
21 * SmtpClient.cs : for ToQuotedPrintable() input, don't use utf8
22 StreamReader to get input string. Just use Encoding.GetBytes().
25 2007-12-05 Atsushi Enomoto <atsushi@ximian.com>
27 * MailMessage.cs : fixing cosmetic .net compatibility. Automatically
28 fill ASCII when guessed encoding is nothing.
30 2007-12-05 Atsushi Enomoto <atsushi@ximian.com>
32 * SmtpClient.cs : fold base64 string at 76 characters.
33 Should fix bug #344974.
35 2007-12-05 Atsushi Enomoto <atsushi@ximian.com>
37 * Attachment.cs : use correct TransferEncoding when (Text)Encoding
39 * MailMessage.cs : ContentTransferEncoding implementation went into
42 2007-12-04 Arina Itkes <arinai@mainsoft.com>
44 * SmtpException.cs, SmtpFailedRecipientException.cs,
45 SmtpFailedRecipientsException.cs:
46 Changes for SOAP serialization compatibility with .NET.
48 2007-11-05 Atsushi Enomoto <atsushi@ximian.com>
51 * AlternateView.cs : CreateAlternateViewFromString() allows null
53 * SmtpClient.cs : looks like when Body is null and AlternativeViews
54 contains only 1 item, then the alternate view becomes as if it
55 were just a body. To make this possible, added couple of more
56 transfer-encoding conversion methods.
57 For more AlternateViews cases, Body is treated
58 as empty. With attachments it is even complicated: those alternate
59 views are just in one boundary, so do not send empty string.
60 Removed debug output (Console.WriteLine).
64 2007-10-30 Arina Itkes <arinai@mainsoft.com>
66 * SmtpClient.cs: Fix of SmtpClient.Read() method:
67 Added check of string position before calling
68 Substring and IndexOf methods of string.
70 2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
72 * SmtpClient.cs : small async refactory.
74 2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
76 * SmtpClient.cs : Implemented async operations.
78 2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
80 * Attachment.cs : reverted previous change. NameEncoding is not
81 guessed at set_Name().
83 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
85 * SmtpClient.cs : lunatic cyclic build.
87 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
89 * AttachmentBase.cs : implemented Dispose(bool).
91 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
93 * AttachmentCollection.cs : remove TODO.
94 * Attachment.cs : guess NameEncoding when set_Name().
95 * MailMessage.cs : moved encoding guess impl to ContentType.
96 * SmtpClient.cs : moved RFC 2047 encoding impl to ContentType.
97 Support attachment Name encoding. Added some SSL changes (it's not
100 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
102 * SmtpClient.cs : attachment refactory. First, determine whether we
103 send multipart/mixed for attachments. Second, determine whether we
104 send multipart/alternative for AlternateViews.
105 Consider LinkedResources. Mark EnableSsl as TODO.
107 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
109 * LinkedResource.cs : Now they are implemented and soon to be
110 supported. Fixed TransferEncoding (same as other AttachmentBase).
112 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
114 * Attachment.cs : null name is allowed.
116 2007-10-19 Atsushi Enomoto <atsushi@ximian.com>
118 * AlternateView.cs, AttachmentView.cs, AttachmentBase.cs :
119 reverted default back to TransferEncoding.Base64 again, and use
120 QuotedPrintable only when created from string.
121 No need to check null Stream at AlternateView.ctor(). See base.
122 * SmtpClient.cs : For multipart message, do not send body twice (it
123 still emits extraneous part, which should be fixed too).
124 Do not premise charset existence in every AttachmentBase.
126 2007-10-17 Atsushi Enomoto <atsushi@ximian.com>
128 * AlternateView.cs : dispose linked resources. Remove MonoTODOs.
129 * Attachment.cs : check null content string.
130 The string argument in .ctor(Stream,string) is name, not mediaType.
131 Use contentEncoding argument in CreateAttachmentFromString().
132 * AttachmentBase.cs : TransferEncoding default is QuotedPrintable.
134 2007-10-17 Atsushi Enomoto <atsushi@ximian.com>
136 * MailMessage.cs : removed MonoTODO. some comment.
137 * SmtpException.cs, SmtpFailedRecipientsException.cs,
138 SmtpFailedRecipientException.cs : implemented serialization.
140 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
142 * SmtpClient.cs : use 3 StringBuilder.Replace() calls rather than
143 3 string.Replace() calls.
145 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
147 * SmtpClient.cs : do state check on other setters than set_Timeout().
149 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
151 * MailMessage.cs : Some entire refactory on BodyEncoding and
152 IsBodyHtml. BodyEncoding and SubjectEncoding are guessed when
153 Body and Subject are set for each.
155 Subject header is encoded according to RFC 2047.
156 Body is encoded according to RFC 2821.
158 ToQuotedPrintable() should take encoding into consideration.
159 For SevenBit/Unknown TransferEncoding, just decode with ASCII.
160 In set_UseDefaultCredentials(), raise NIE only when value is true.
161 In set_Timeout(), raise an error when Send() is in progress.
163 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
165 * SmtpClient.cs : Replace every \r and \n with \r\n per RFC 2821
166 section 2.3.7, or you will receive SMTP error 451.
168 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
170 * AlternateViewCollection.cs, LinkedResourceCollection.cs,
171 AttachmentCollection.cs : added missing 2.0 members.
173 2007-06-17 Gert Driesen <drieseng@users.sourceforge.net>
175 * MailAddress.cs: Throw ArgumentNullException if address is null.
176 Allow display name to be specified as part of the address. Fixes
177 bug #81854. Return zero-length string in DisplayName if no display
180 2007-05-31 Jeffrey Stedfast <fejj@gnome.org>
182 * SmtpClient.cs: Added an extensions parser to figure out if the
183 ESMTP server supports things like STARTTLS and which AUTH
184 mechanisms are supported. Don't try authenticating if no authmechs
187 2007-05-30 Jeffrey Stedfast <fejj@novell.com>
189 * SmtpClient.cs: Fall back to HELO if EHLO fails. Also, do not
190 write out a Bcc header to the SMTP server - these are meant to be
191 dropped. MAIL FROM: and RCPT TO: commands are not meant to have a
192 space after the colon before the address - this will break on some
195 2007-02-16 Geoff Norton <gnorton@customerdna.com>
197 * SmtpClient.cs: Dont send bare LF. Send <CR><LF> regardless
198 of platform. (ref: http://cr.yp.to/docs/smtplf.html)
200 2007-01-20 Miguel de Icaza <miguel@novell.com>
202 * MailMessage.cs: Add suport to the MailMessage constructor to
203 take a comma-separated list of addresses (Bug #80548).
205 2006-12-12 Miguel de Icaza <miguel@novell.com>
207 * MailMessage.cs: Fix this code so that it correctly reports
208 ArgumentNullExceptions.
210 2006-12-12 Atsushi Enomoto <atsushi@ximian.com>
212 * SmtpClient.cs : use CONFIGURATION_DEP when it is
213 System.Configuration.dll dependent.
215 2006-12-10 David Elkind <davide@mainsoft.com>
217 * Attachment.cs - proper file name handling added
218 * AttachmentBase.cs - proper MIME type handling added
219 * MailAddress.cs - Proper mail address handling ('<' and '>' addition) added
220 * MailMessage.cs - Better construction sequence
221 * SmtpClient.cs - Added proper handling of composite message (consisting of alternate views/attachments)
222 - Added handling of user credentials
223 - Added handling of TLS (under TARGET_JVM)
224 - Some other minor fixes
226 2006-12-04 Konstantin Triger <kostat@mainsoft.com>
228 * SmtpException.cs, SmtpFailedRecipientException.cs: TARGET_JVM limitation workaround.
230 2006-12-01 Sebastien Pouliot <sebastien@ximian.com>
232 * SmtpClient.cs: Added MonoTODO for missing SSL/TLS support and
233 updated existing MonoTODO (or changed them to FIXME) to be clearer
234 for anyone using the API.
236 2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
238 * SmtpException.cs: Fix visibility on .ctor(SerializationInfo,
240 * SmtpPermissionAttribute.cs: New (2.0). Security attribute for SMTP.
241 * SmtpPermission.cs: New (2.0). Security permission for SMTP.
243 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
245 * SmtpClient.cs: TARGET_JVM
247 2006-03-11 Miguel de Icaza <miguel@novell.com>
249 * MailAddress.cs: Comment out unused field to remove warning.
251 2006-1-13 John Luke <john.luke@gmail.com>
253 * MailMessage.cs: add [MonoTODO] for FormatException in ctor,
254 throw ArugmentNullException's from the ctors,
255 add internal BodyContentType property,
256 change BodyEncoding to use BodyContentType,
257 change IsBodyHtml to use BodyContentType,
258 * SmtpClient.cs: set timeout initially to 100000,
259 don't throw ArgumentOutOfRangeException when Timeout = 0,
260 add [MonoTODO] for set_host, and throw Exceptions for it,
261 add [MonoTODO] for UseDefaultCredentials,
262 get messageContentType from the message,
263 use "127.0.0.1" for Host and 25 for Port
264 if host or port is not specified until reading
265 them from the configuration files is done
267 2006-1-02 John Luke <john.luke@gmail.com>
269 * DeliveryNotificationOptions: fix value of Delay
271 2005-12-26 John Luke <john.luke@gmail.com>
273 * AttachmentCollection.cs: mark sealed
274 * DeliveryNotificationOptions.cs: fix values
276 2005-12-25 John Luke <john.luke@gmail.com>
278 * SmtpStatusCode.cs: OK > Ok
279 * AttachmentBase.cs: ContentID > ContentId,
281 * AlternateViewCollection.cs: remove destructor,
282 make default ctor internal
283 * MailMessage.cs: add default ctor,
285 * Attachment.cs: add (string, string) ctor,
287 * LinkedResourceCollection.cs: remove destructor,
288 make default ctor internal
289 * AttachmentCollection.cs: mark Dispose virtual,
290 add ISerializable, make default ctor internal
292 2005-12-24 John Luke <john.luke@gmail.com>
294 * LinkedResource.cs: new File
295 * AttachmentBase.cs: new File
296 * MailPriority.cs: new File
297 * AlternateViewCollection.cs: new File
298 * DeliveryNotificationOptions.cs: new File
299 * SmtpFailedRecipientException.cs: new File
300 * AlternateView.cs: new File
301 * LinkedResourceCollection.cs: new File
302 * MailMessage.cs: add some missing properties, update API for 2.0 final
303 * Attachment.cs: inherit from AttachmentBase, update API for 2.0 final
304 * MailAddress.cs: fix ToString, override Equals and GetHashCode
305 * SmtpFailedRecipientsException.cs: use SmtpFailedRecipientException
306 * SmtpException.cs: add [Serializable], ISerializable
307 * MailAddressCollection.cs: inherit from Collection<MailAddress>
308 * AttachmentCollection.cs: inherit from Collection<Attachment>
309 * SmtpAccess.cs: add missing value
310 * SmtpClient.cs: update for 2.0 final API
311 * SmtpStatusCode.cs: add missing value
312 2005-12-24 John Luke <john.luke@gmail.com>
314 * MailMessage.cs: use text/plain by default,
315 patch by Andy Waddell <awaddell@fnfr.com>,
318 2005-12-22 John Luke <john.luke@gmail.com>
320 * SmtpClient.cs: remove use of TransferEncodings that
321 no longer exist in .net 2 final API
323 2005-12-14 Chris Toshok <toshok@ximian.com>
325 * SmtpDeliveryMethod.cs: new enum.
327 2004-09-10 Tim Coleman <tim@timcoleman.com>
328 * SmtpClient.cs SmtpFailedRecipientsException.cs:
329 Add failed recipient exception handling.
331 2004-09-09 Tim Coleman <tim@timcoleman.com>
332 * AttachmentCollection.cs MailAddressCollection.cs:
334 * Attachment.cs: Set content string
335 * MailMessage.cs: Use new collection classes
336 * SmtpClient.cs: Lots of MIME cleanup
338 2004-09-08 Tim Coleman <tim@timcoleman.com>
339 * Attachment.cs: Add SetContentFromFile methods
340 * MailMessage.cs: Add MIME-Version header
341 * SmtpClient.cs: Add some attachment handling.
343 2004-09-04 Tim Coleman <tim@timcoleman.com>
344 * Attachment.cs MailAddress.cs MailMessage.cs SendCompletedEventHandler.cs
345 * SmtpAccess.cs SmtpClient.cs SmtpException.cs SmtpStatusCode.cs:
346 New class stubs for 2.0