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