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