ChangeLog 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. 2010-06-28 Gonzalo Paniagua Javier <[email protected]>
  2. * SmtpClient.cs: support PLAIN authentication and throw if LOGIN and
  3. PLAIN are not supported. Fixes bug #607249.
  4. 2010-05-04 Miguel de Icaza <[email protected]>
  5. * Apply patch from Ted Unangst to fix bug 574049
  6. 2010-03-06 Gonzalo Paniagua Javier <[email protected]>
  7. * SmtpClient.cs: typo in reply-to header. Thanks to Chris Tomlinson.
  8. Fixes bug #578271.
  9. 2010-02-15 Gonzalo Paniagua Javier <[email protected]>
  10. * SmtpClient.cs: generate correct MIME when there are text and html
  11. linked resources. Fixes bug #579984. Patch by Ásgeir Halldórsson.
  12. 2010-01-21 Gonzalo Paniagua Javier <[email protected]>
  13. * SmtpClient.cs: rethrow inner exception so that
  14. AsyncCompletedEventArgs.Error gets the right value on error. Patch
  15. by Dimitar Dobrev.
  16. 2009-12-11 Miguel de Icaza <[email protected]>
  17. * SmtpClient.cs: Add half-implemented feature, TargetName for the
  18. SPN SMTP system.
  19. * SmtpClient.cs, MailMessage.cs: Add 4.0 APIs.
  20. 2009-08-20 Sebastien Pouliot <[email protected]>
  21. * SmtpClient.cs: Honor ServicePointManager.
  22. ServerCertificateValidationCallback when provided
  23. 2009-08-03 Gonzalo Paniagua Javier <[email protected]>
  24. * Attachment.cs: set the body encoding for multipart attachments.
  25. Fixes bug #527177.
  26. 2009-06-08 Gonzalo Paniagua Javier <[email protected]>
  27. * SmtpClient.cs: handle dots. Patch by Ted Unangst that fixes bug
  28. #392875.
  29. 2008-11-17 Gonzalo Paniagua Javier <[email protected]>
  30. * SmtpClient.cs: remove unused variable and obsolete comment.
  31. 2008-09-17 Miguel de Icaza <[email protected]>
  32. * SmtpClient.cs: Actually set some of the headers like Priority,
  33. ReplyTo and Sender.
  34. 2008-09-05 Atsushi Enomoto <[email protected]>
  35. * SmtpClient.cs : attachment stream consumption was insufficient.
  36. Fix bug #347553, by David Ion.
  37. 2008-08-16 Gert Driesen <[email protected]>
  38. * SmtpClient.cs: Fixed paramname of Argument(Null)Exceptions to match
  39. MS. Removed upper limit check for Port. Modified Send to no longer
  40. allow a whitespace-only Host. Moved checks for SpecifiedPickupDirectory
  41. delivery method to SendFile, and use Path.IsPathRooted to check for
  42. absolute paths instead of using a unix-only check. In Send, wrap all
  43. non-SMTP errors in an SmtpException.
  44. * SmtpException.cs: Correctly chain up all .ctors. Removed extra
  45. null check in deserialization .ctor.
  46. 2008-08-15 Atsushi Enomoto <[email protected]>
  47. * SmtpClient.cs : fixed bug #382670, based on the patch by Ted
  48. Unangst. DeriveryMethod.SpecifiedPickupDirectory was not supported.
  49. 2008-08-14 Atsushi Enomoto <[email protected]>
  50. * SmtpClient.cs : Patch by Ted Unangst, fixed bug #392843.
  51. Encode emails correctly as well as join multiple emails
  52. correctly.
  53. 2008-08-12 Atsushi Enomoto <[email protected]>
  54. * SmtpClient.cs : fixed bug #392682, in the same spirit in the
  55. patch by Ted Unangst, to assure safety on socket closing.
  56. 2008-08-07 Atsushi Enomoto <[email protected]>
  57. * SmtpClient.cs : Fixed bug #392809, patch by Ted Unangst. Text body
  58. was not copied to byte array which is being sent.
  59. 2008-04-21 Andreas Nahr <[email protected]>
  60. * SmtpClient.cs: Fix bug with string handling
  61. 2008-04-21 Andreas Nahr <[email protected]>
  62. * SmtpClient.cs: Fix formatting
  63. 2008-04-20 Gonzalo Paniagua Javier <[email protected]>
  64. * SmtpClient.cs: made ParseExtension() work. After STARTTLS, reset
  65. data retrieved from EHLO.
  66. Fixes bug #377463.
  67. 2008-04-03 Juraj Skripsky <[email protected]>
  68. * Attachment.cs (InitName): Use Path.GetFileName instead of Substring hack.
  69. Fixes bug #366947.
  70. 2008-01-29 Juraj Skripsky <[email protected]>
  71. * SmtpClient.cs (ToQuotedPrintable): Escape the escape character "=".
  72. 2008-01-29 Juraj Skripsky <[email protected]>
  73. * SmtpClient.cs: Remove ':' from the time zone offset in the
  74. mail's date field. Fixes bug #351443.
  75. (ToQuotedPrintable): Make sure text encoded as quoted-printable does
  76. not contain more then 76 chars per line (required by rfc1521). Fixes
  77. bug #351448.
  78. 2007-12-06 Atsushi Enomoto <[email protected]>
  79. * AlternateView.cs : supply charset info for ContentType.
  80. * SmtpClient.cs : for ToQuotedPrintable() input, don't use utf8
  81. StreamReader to get input string. Just use Encoding.GetBytes().
  82. Fixed bug #346162.
  83. 2007-12-05 Atsushi Enomoto <[email protected]>
  84. * MailMessage.cs : fixing cosmetic .net compatibility. Automatically
  85. fill ASCII when guessed encoding is nothing.
  86. 2007-12-05 Atsushi Enomoto <[email protected]>
  87. * SmtpClient.cs : fold base64 string at 76 characters.
  88. Should fix bug #344974.
  89. 2007-12-05 Atsushi Enomoto <[email protected]>
  90. * Attachment.cs : use correct TransferEncoding when (Text)Encoding
  91. is specified.
  92. * MailMessage.cs : ContentTransferEncoding implementation went into
  93. ContentType.
  94. 2007-12-04 Arina Itkes <[email protected]>
  95. * SmtpException.cs, SmtpFailedRecipientException.cs,
  96. SmtpFailedRecipientsException.cs:
  97. Changes for SOAP serialization compatibility with .NET.
  98. 2007-11-05 Atsushi Enomoto <[email protected]>
  99. fixed bug #339037.
  100. * AlternateView.cs : CreateAlternateViewFromString() allows null
  101. Encoding.
  102. * SmtpClient.cs : looks like when Body is null and AlternativeViews
  103. contains only 1 item, then the alternate view becomes as if it
  104. were just a body. To make this possible, added couple of more
  105. transfer-encoding conversion methods.
  106. For more AlternateViews cases, Body is treated
  107. as empty. With attachments it is even complicated: those alternate
  108. views are just in one boundary, so do not send empty string.
  109. Removed debug output (Console.WriteLine).
  110. What a mess.
  111. 2007-10-30 Arina Itkes <[email protected]>
  112. * SmtpClient.cs: Fix of SmtpClient.Read() method:
  113. Added check of string position before calling
  114. Substring and IndexOf methods of string.
  115. 2007-10-23 Atsushi Enomoto <[email protected]>
  116. * SmtpClient.cs : small async refactory.
  117. 2007-10-23 Atsushi Enomoto <[email protected]>
  118. * SmtpClient.cs : Implemented async operations.
  119. 2007-10-23 Atsushi Enomoto <[email protected]>
  120. * Attachment.cs : reverted previous change. NameEncoding is not
  121. guessed at set_Name().
  122. 2007-10-22 Atsushi Enomoto <[email protected]>
  123. * SmtpClient.cs : lunatic cyclic build.
  124. 2007-10-22 Atsushi Enomoto <[email protected]>
  125. * AttachmentBase.cs : implemented Dispose(bool).
  126. 2007-10-22 Atsushi Enomoto <[email protected]>
  127. * AttachmentCollection.cs : remove TODO.
  128. * Attachment.cs : guess NameEncoding when set_Name().
  129. * MailMessage.cs : moved encoding guess impl to ContentType.
  130. * SmtpClient.cs : moved RFC 2047 encoding impl to ContentType.
  131. Support attachment Name encoding. Added some SSL changes (it's not
  132. working yet).
  133. 2007-10-22 Atsushi Enomoto <[email protected]>
  134. * SmtpClient.cs : attachment refactory. First, determine whether we
  135. send multipart/mixed for attachments. Second, determine whether we
  136. send multipart/alternative for AlternateViews.
  137. Consider LinkedResources. Mark EnableSsl as TODO.
  138. 2007-10-22 Atsushi Enomoto <[email protected]>
  139. * LinkedResource.cs : Now they are implemented and soon to be
  140. supported. Fixed TransferEncoding (same as other AttachmentBase).
  141. 2007-10-22 Atsushi Enomoto <[email protected]>
  142. * Attachment.cs : null name is allowed.
  143. 2007-10-19 Atsushi Enomoto <[email protected]>
  144. * AlternateView.cs, AttachmentView.cs, AttachmentBase.cs :
  145. reverted default back to TransferEncoding.Base64 again, and use
  146. QuotedPrintable only when created from string.
  147. No need to check null Stream at AlternateView.ctor(). See base.
  148. * SmtpClient.cs : For multipart message, do not send body twice (it
  149. still emits extraneous part, which should be fixed too).
  150. Do not premise charset existence in every AttachmentBase.
  151. 2007-10-17 Atsushi Enomoto <[email protected]>
  152. * AlternateView.cs : dispose linked resources. Remove MonoTODOs.
  153. * Attachment.cs : check null content string.
  154. The string argument in .ctor(Stream,string) is name, not mediaType.
  155. Use contentEncoding argument in CreateAttachmentFromString().
  156. * AttachmentBase.cs : TransferEncoding default is QuotedPrintable.
  157. 2007-10-17 Atsushi Enomoto <[email protected]>
  158. * MailMessage.cs : removed MonoTODO. some comment.
  159. * SmtpException.cs, SmtpFailedRecipientsException.cs,
  160. SmtpFailedRecipientException.cs : implemented serialization.
  161. 2007-10-16 Atsushi Enomoto <[email protected]>
  162. * SmtpClient.cs : use 3 StringBuilder.Replace() calls rather than
  163. 3 string.Replace() calls.
  164. 2007-10-16 Atsushi Enomoto <[email protected]>
  165. * SmtpClient.cs : do state check on other setters than set_Timeout().
  166. 2007-10-16 Atsushi Enomoto <[email protected]>
  167. * MailMessage.cs : Some entire refactory on BodyEncoding and
  168. IsBodyHtml. BodyEncoding and SubjectEncoding are guessed when
  169. Body and Subject are set for each.
  170. * SmtpClient.cs :
  171. Subject header is encoded according to RFC 2047.
  172. Body is encoded according to RFC 2821.
  173. Output Date header.
  174. ToQuotedPrintable() should take encoding into consideration.
  175. For SevenBit/Unknown TransferEncoding, just decode with ASCII.
  176. In set_UseDefaultCredentials(), raise NIE only when value is true.
  177. In set_Timeout(), raise an error when Send() is in progress.
  178. 2007-10-16 Atsushi Enomoto <[email protected]>
  179. * SmtpClient.cs : Replace every \r and \n with \r\n per RFC 2821
  180. section 2.3.7, or you will receive SMTP error 451.
  181. 2007-10-16 Atsushi Enomoto <[email protected]>
  182. * AlternateViewCollection.cs, LinkedResourceCollection.cs,
  183. AttachmentCollection.cs : added missing 2.0 members.
  184. 2007-06-17 Gert Driesen <[email protected]>
  185. * MailAddress.cs: Throw ArgumentNullException if address is null.
  186. Allow display name to be specified as part of the address. Fixes
  187. bug #81854. Return zero-length string in DisplayName if no display
  188. name is set.
  189. 2007-05-31 Jeffrey Stedfast <[email protected]>
  190. * SmtpClient.cs: Added an extensions parser to figure out if the
  191. ESMTP server supports things like STARTTLS and which AUTH
  192. mechanisms are supported. Don't try authenticating if no authmechs
  193. are supported.
  194. 2007-05-30 Jeffrey Stedfast <[email protected]>
  195. * SmtpClient.cs: Fall back to HELO if EHLO fails. Also, do not
  196. write out a Bcc header to the SMTP server - these are meant to be
  197. dropped. MAIL FROM: and RCPT TO: commands are not meant to have a
  198. space after the colon before the address - this will break on some
  199. SMTP servers.
  200. 2007-02-16 Geoff Norton <[email protected]>
  201. * SmtpClient.cs: Dont send bare LF. Send <CR><LF> regardless
  202. of platform. (ref: http://cr.yp.to/docs/smtplf.html)
  203. 2007-01-20 Miguel de Icaza <[email protected]>
  204. * MailMessage.cs: Add suport to the MailMessage constructor to
  205. take a comma-separated list of addresses (Bug #80548).
  206. 2006-12-12 Miguel de Icaza <[email protected]>
  207. * MailMessage.cs: Fix this code so that it correctly reports
  208. ArgumentNullExceptions.
  209. 2006-12-12 Atsushi Enomoto <[email protected]>
  210. * SmtpClient.cs : use CONFIGURATION_DEP when it is
  211. System.Configuration.dll dependent.
  212. 2006-12-10 David Elkind <[email protected]>
  213. * Attachment.cs - proper file name handling added
  214. * AttachmentBase.cs - proper MIME type handling added
  215. * MailAddress.cs - Proper mail address handling ('<' and '>' addition) added
  216. * MailMessage.cs - Better construction sequence
  217. * SmtpClient.cs - Added proper handling of composite message (consisting of alternate views/attachments)
  218. - Added handling of user credentials
  219. - Added handling of TLS (under TARGET_JVM)
  220. - Some other minor fixes
  221. 2006-12-04 Konstantin Triger <[email protected]>
  222. * SmtpException.cs, SmtpFailedRecipientException.cs: TARGET_JVM limitation workaround.
  223. 2006-12-01 Sebastien Pouliot <[email protected]>
  224. * SmtpClient.cs: Added MonoTODO for missing SSL/TLS support and
  225. updated existing MonoTODO (or changed them to FIXME) to be clearer
  226. for anyone using the API.
  227. 2006-10-31 Sebastien Pouliot <[email protected]>
  228. * SmtpException.cs: Fix visibility on .ctor(SerializationInfo,
  229. StreamingContext).
  230. * SmtpPermissionAttribute.cs: New (2.0). Security attribute for SMTP.
  231. * SmtpPermission.cs: New (2.0). Security permission for SMTP.
  232. 2006-09-28 Andrew Skiba <[email protected]>
  233. * SmtpClient.cs: TARGET_JVM
  234. 2006-03-11 Miguel de Icaza <[email protected]>
  235. * MailAddress.cs: Comment out unused field to remove warning.
  236. 2006-1-13 John Luke <[email protected]>
  237. * MailMessage.cs: add [MonoTODO] for FormatException in ctor,
  238. throw ArugmentNullException's from the ctors,
  239. add internal BodyContentType property,
  240. change BodyEncoding to use BodyContentType,
  241. change IsBodyHtml to use BodyContentType,
  242. * SmtpClient.cs: set timeout initially to 100000,
  243. don't throw ArgumentOutOfRangeException when Timeout = 0,
  244. add [MonoTODO] for set_host, and throw Exceptions for it,
  245. add [MonoTODO] for UseDefaultCredentials,
  246. get messageContentType from the message,
  247. use "127.0.0.1" for Host and 25 for Port
  248. if host or port is not specified until reading
  249. them from the configuration files is done
  250. 2006-1-02 John Luke <[email protected]>
  251. * DeliveryNotificationOptions: fix value of Delay
  252. 2005-12-26 John Luke <[email protected]>
  253. * AttachmentCollection.cs: mark sealed
  254. * DeliveryNotificationOptions.cs: fix values
  255. 2005-12-25 John Luke <[email protected]>
  256. * SmtpStatusCode.cs: OK > Ok
  257. * AttachmentBase.cs: ContentID > ContentId,
  258. add set_ContentType
  259. * AlternateViewCollection.cs: remove destructor,
  260. make default ctor internal
  261. * MailMessage.cs: add default ctor,
  262. remove destructor
  263. * Attachment.cs: add (string, string) ctor,
  264. add set_NameEncoding
  265. * LinkedResourceCollection.cs: remove destructor,
  266. make default ctor internal
  267. * AttachmentCollection.cs: mark Dispose virtual,
  268. add ISerializable, make default ctor internal
  269. 2005-12-24 John Luke <[email protected]>
  270. * LinkedResource.cs: new File
  271. * AttachmentBase.cs: new File
  272. * MailPriority.cs: new File
  273. * AlternateViewCollection.cs: new File
  274. * DeliveryNotificationOptions.cs: new File
  275. * SmtpFailedRecipientException.cs: new File
  276. * AlternateView.cs: new File
  277. * LinkedResourceCollection.cs: new File
  278. * MailMessage.cs: add some missing properties, update API for 2.0 final
  279. * Attachment.cs: inherit from AttachmentBase, update API for 2.0 final
  280. * MailAddress.cs: fix ToString, override Equals and GetHashCode
  281. * SmtpFailedRecipientsException.cs: use SmtpFailedRecipientException
  282. * SmtpException.cs: add [Serializable], ISerializable
  283. * MailAddressCollection.cs: inherit from Collection<MailAddress>
  284. * AttachmentCollection.cs: inherit from Collection<Attachment>
  285. * SmtpAccess.cs: add missing value
  286. * SmtpClient.cs: update for 2.0 final API
  287. * SmtpStatusCode.cs: add missing value
  288. 2005-12-24 John Luke <[email protected]>
  289. * MailMessage.cs: use text/plain by default,
  290. patch by Andy Waddell <[email protected]>,
  291. fixes bug #76972
  292. 2005-12-22 John Luke <[email protected]>
  293. * SmtpClient.cs: remove use of TransferEncodings that
  294. no longer exist in .net 2 final API
  295. 2005-12-14 Chris Toshok <[email protected]>
  296. * SmtpDeliveryMethod.cs: new enum.
  297. 2004-09-10 Tim Coleman <[email protected]>
  298. * SmtpClient.cs SmtpFailedRecipientsException.cs:
  299. Add failed recipient exception handling.
  300. 2004-09-09 Tim Coleman <[email protected]>
  301. * AttachmentCollection.cs MailAddressCollection.cs:
  302. New classes
  303. * Attachment.cs: Set content string
  304. * MailMessage.cs: Use new collection classes
  305. * SmtpClient.cs: Lots of MIME cleanup
  306. 2004-09-08 Tim Coleman <[email protected]>
  307. * Attachment.cs: Add SetContentFromFile methods
  308. * MailMessage.cs: Add MIME-Version header
  309. * SmtpClient.cs: Add some attachment handling.
  310. 2004-09-04 Tim Coleman <[email protected]>
  311. * Attachment.cs MailAddress.cs MailMessage.cs SendCompletedEventHandler.cs
  312. * SmtpAccess.cs SmtpClient.cs SmtpException.cs SmtpStatusCode.cs:
  313. New class stubs for 2.0