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