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