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