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