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