1 2007-11-05 Atsushi Enomoto <atsushi@ximian.com>
4 * AlternateView.cs : CreateAlternateViewFromString() allows null
6 * SmtpClient.cs : looks like when Body is null and AlternativeViews
7 contains only 1 item, then the alternate view becomes as if it
8 were just a body. To make this possible, added couple of more
9 transfer-encoding conversion methods.
10 For more AlternateViews cases, Body is treated
11 as empty. With attachments it is even complicated: those alternate
12 views are just in one boundary, so do not send empty string.
13 Removed debug output (Console.WriteLine).
17 2007-10-30 Arina Itkes <arinai@mainsoft.com>
19 * SmtpClient.cs: Fix of SmtpClient.Read() method:
20 Added check of string position before calling
21 Substring and IndexOf methods of string.
23 2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
25 * SmtpClient.cs : small async refactory.
27 2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
29 * SmtpClient.cs : Implemented async operations.
31 2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
33 * Attachment.cs : reverted previous change. NameEncoding is not
34 guessed at set_Name().
36 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
38 * SmtpClient.cs : lunatic cyclic build.
40 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
42 * AttachmentBase.cs : implemented Dispose(bool).
44 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
46 * AttachmentCollection.cs : remove TODO.
47 * Attachment.cs : guess NameEncoding when set_Name().
48 * MailMessage.cs : moved encoding guess impl to ContentType.
49 * SmtpClient.cs : moved RFC 2047 encoding impl to ContentType.
50 Support attachment Name encoding. Added some SSL changes (it's not
53 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
55 * SmtpClient.cs : attachment refactory. First, determine whether we
56 send multipart/mixed for attachments. Second, determine whether we
57 send multipart/alternative for AlternateViews.
58 Consider LinkedResources. Mark EnableSsl as TODO.
60 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
62 * LinkedResource.cs : Now they are implemented and soon to be
63 supported. Fixed TransferEncoding (same as other AttachmentBase).
65 2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
67 * Attachment.cs : null name is allowed.
69 2007-10-19 Atsushi Enomoto <atsushi@ximian.com>
71 * AlternateView.cs, AttachmentView.cs, AttachmentBase.cs :
72 reverted default back to TransferEncoding.Base64 again, and use
73 QuotedPrintable only when created from string.
74 No need to check null Stream at AlternateView.ctor(). See base.
75 * SmtpClient.cs : For multipart message, do not send body twice (it
76 still emits extraneous part, which should be fixed too).
77 Do not premise charset existence in every AttachmentBase.
79 2007-10-17 Atsushi Enomoto <atsushi@ximian.com>
81 * AlternateView.cs : dispose linked resources. Remove MonoTODOs.
82 * Attachment.cs : check null content string.
83 The string argument in .ctor(Stream,string) is name, not mediaType.
84 Use contentEncoding argument in CreateAttachmentFromString().
85 * AttachmentBase.cs : TransferEncoding default is QuotedPrintable.
87 2007-10-17 Atsushi Enomoto <atsushi@ximian.com>
89 * MailMessage.cs : removed MonoTODO. some comment.
90 * SmtpException.cs, SmtpFailedRecipientsException.cs,
91 SmtpFailedRecipientException.cs : implemented serialization.
93 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
95 * SmtpClient.cs : use 3 StringBuilder.Replace() calls rather than
96 3 string.Replace() calls.
98 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
100 * SmtpClient.cs : do state check on other setters than set_Timeout().
102 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
104 * MailMessage.cs : Some entire refactory on BodyEncoding and
105 IsBodyHtml. BodyEncoding and SubjectEncoding are guessed when
106 Body and Subject are set for each.
108 Subject header is encoded according to RFC 2047.
109 Body is encoded according to RFC 2821.
111 ToQuotedPrintable() should take encoding into consideration.
112 For SevenBit/Unknown TransferEncoding, just decode with ASCII.
113 In set_UseDefaultCredentials(), raise NIE only when value is true.
114 In set_Timeout(), raise an error when Send() is in progress.
116 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
118 * SmtpClient.cs : Replace every \r and \n with \r\n per RFC 2821
119 section 2.3.7, or you will receive SMTP error 451.
121 2007-10-16 Atsushi Enomoto <atsushi@ximian.com>
123 * AlternateViewCollection.cs, LinkedResourceCollection.cs,
124 AttachmentCollection.cs : added missing 2.0 members.
126 2007-06-17 Gert Driesen <drieseng@users.sourceforge.net>
128 * MailAddress.cs: Throw ArgumentNullException if address is null.
129 Allow display name to be specified as part of the address. Fixes
130 bug #81854. Return zero-length string in DisplayName if no display
133 2007-05-31 Jeffrey Stedfast <fejj@gnome.org>
135 * SmtpClient.cs: Added an extensions parser to figure out if the
136 ESMTP server supports things like STARTTLS and which AUTH
137 mechanisms are supported. Don't try authenticating if no authmechs
140 2007-05-30 Jeffrey Stedfast <fejj@novell.com>
142 * SmtpClient.cs: Fall back to HELO if EHLO fails. Also, do not
143 write out a Bcc header to the SMTP server - these are meant to be
144 dropped. MAIL FROM: and RCPT TO: commands are not meant to have a
145 space after the colon before the address - this will break on some
148 2007-02-16 Geoff Norton <gnorton@customerdna.com>
150 * SmtpClient.cs: Dont send bare LF. Send <CR><LF> regardless
151 of platform. (ref: http://cr.yp.to/docs/smtplf.html)
153 2007-01-20 Miguel de Icaza <miguel@novell.com>
155 * MailMessage.cs: Add suport to the MailMessage constructor to
156 take a comma-separated list of addresses (Bug #80548).
158 2006-12-12 Miguel de Icaza <miguel@novell.com>
160 * MailMessage.cs: Fix this code so that it correctly reports
161 ArgumentNullExceptions.
163 2006-12-12 Atsushi Enomoto <atsushi@ximian.com>
165 * SmtpClient.cs : use CONFIGURATION_DEP when it is
166 System.Configuration.dll dependent.
168 2006-12-10 David Elkind <davide@mainsoft.com>
170 * Attachment.cs - proper file name handling added
171 * AttachmentBase.cs - proper MIME type handling added
172 * MailAddress.cs - Proper mail address handling ('<' and '>' addition) added
173 * MailMessage.cs - Better construction sequence
174 * SmtpClient.cs - Added proper handling of composite message (consisting of alternate views/attachments)
175 - Added handling of user credentials
176 - Added handling of TLS (under TARGET_JVM)
177 - Some other minor fixes
179 2006-12-04 Konstantin Triger <kostat@mainsoft.com>
181 * SmtpException.cs, SmtpFailedRecipientException.cs: TARGET_JVM limitation workaround.
183 2006-12-01 Sebastien Pouliot <sebastien@ximian.com>
185 * SmtpClient.cs: Added MonoTODO for missing SSL/TLS support and
186 updated existing MonoTODO (or changed them to FIXME) to be clearer
187 for anyone using the API.
189 2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
191 * SmtpException.cs: Fix visibility on .ctor(SerializationInfo,
193 * SmtpPermissionAttribute.cs: New (2.0). Security attribute for SMTP.
194 * SmtpPermission.cs: New (2.0). Security permission for SMTP.
196 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
198 * SmtpClient.cs: TARGET_JVM
200 2006-03-11 Miguel de Icaza <miguel@novell.com>
202 * MailAddress.cs: Comment out unused field to remove warning.
204 2006-1-13 John Luke <john.luke@gmail.com>
206 * MailMessage.cs: add [MonoTODO] for FormatException in ctor,
207 throw ArugmentNullException's from the ctors,
208 add internal BodyContentType property,
209 change BodyEncoding to use BodyContentType,
210 change IsBodyHtml to use BodyContentType,
211 * SmtpClient.cs: set timeout initially to 100000,
212 don't throw ArgumentOutOfRangeException when Timeout = 0,
213 add [MonoTODO] for set_host, and throw Exceptions for it,
214 add [MonoTODO] for UseDefaultCredentials,
215 get messageContentType from the message,
216 use "127.0.0.1" for Host and 25 for Port
217 if host or port is not specified until reading
218 them from the configuration files is done
220 2006-1-02 John Luke <john.luke@gmail.com>
222 * DeliveryNotificationOptions: fix value of Delay
224 2005-12-26 John Luke <john.luke@gmail.com>
226 * AttachmentCollection.cs: mark sealed
227 * DeliveryNotificationOptions.cs: fix values
229 2005-12-25 John Luke <john.luke@gmail.com>
231 * SmtpStatusCode.cs: OK > Ok
232 * AttachmentBase.cs: ContentID > ContentId,
234 * AlternateViewCollection.cs: remove destructor,
235 make default ctor internal
236 * MailMessage.cs: add default ctor,
238 * Attachment.cs: add (string, string) ctor,
240 * LinkedResourceCollection.cs: remove destructor,
241 make default ctor internal
242 * AttachmentCollection.cs: mark Dispose virtual,
243 add ISerializable, make default ctor internal
245 2005-12-24 John Luke <john.luke@gmail.com>
247 * LinkedResource.cs: new File
248 * AttachmentBase.cs: new File
249 * MailPriority.cs: new File
250 * AlternateViewCollection.cs: new File
251 * DeliveryNotificationOptions.cs: new File
252 * SmtpFailedRecipientException.cs: new File
253 * AlternateView.cs: new File
254 * LinkedResourceCollection.cs: new File
255 * MailMessage.cs: add some missing properties, update API for 2.0 final
256 * Attachment.cs: inherit from AttachmentBase, update API for 2.0 final
257 * MailAddress.cs: fix ToString, override Equals and GetHashCode
258 * SmtpFailedRecipientsException.cs: use SmtpFailedRecipientException
259 * SmtpException.cs: add [Serializable], ISerializable
260 * MailAddressCollection.cs: inherit from Collection<MailAddress>
261 * AttachmentCollection.cs: inherit from Collection<Attachment>
262 * SmtpAccess.cs: add missing value
263 * SmtpClient.cs: update for 2.0 final API
264 * SmtpStatusCode.cs: add missing value
265 2005-12-24 John Luke <john.luke@gmail.com>
267 * MailMessage.cs: use text/plain by default,
268 patch by Andy Waddell <awaddell@fnfr.com>,
271 2005-12-22 John Luke <john.luke@gmail.com>
273 * SmtpClient.cs: remove use of TransferEncodings that
274 no longer exist in .net 2 final API
276 2005-12-14 Chris Toshok <toshok@ximian.com>
278 * SmtpDeliveryMethod.cs: new enum.
280 2004-09-10 Tim Coleman <tim@timcoleman.com>
281 * SmtpClient.cs SmtpFailedRecipientsException.cs:
282 Add failed recipient exception handling.
284 2004-09-09 Tim Coleman <tim@timcoleman.com>
285 * AttachmentCollection.cs MailAddressCollection.cs:
287 * Attachment.cs: Set content string
288 * MailMessage.cs: Use new collection classes
289 * SmtpClient.cs: Lots of MIME cleanup
291 2004-09-08 Tim Coleman <tim@timcoleman.com>
292 * Attachment.cs: Add SetContentFromFile methods
293 * MailMessage.cs: Add MIME-Version header
294 * SmtpClient.cs: Add some attachment handling.
296 2004-09-04 Tim Coleman <tim@timcoleman.com>
297 * Attachment.cs MailAddress.cs MailMessage.cs SendCompletedEventHandler.cs
298 * SmtpAccess.cs SmtpClient.cs SmtpException.cs SmtpStatusCode.cs:
299 New class stubs for 2.0