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