Commit Graph
59 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 8fa8ca15a6 2006-08-03 Gonzalo Paniagua Javier <[email protected]>
* MailAddress.cs: allow the space before '<' to be omitted.


svn path=/trunk/mcs/; revision=63333
2006-08-03 21:28:38 +00:00
Vladimir Krasnov b2b09a61f0 SmtpClient.cs, SmtpStream.cs: Added SMTP over TLS support, refactoring
svn path=/trunk/mcs/; revision=59914
2006-04-26 08:40:11 +00:00
Vladimir Krasnov 65c29ca847 * SmtpMail.cs: removed TARGET_JVM part from Send method.
svn path=/trunk/mcs/; revision=58344
2006-03-23 09:18:31 +00:00
Vladimir Krasnov a26d91b65e * MailMessageWrapper.cs: fixed Fields property, casting to string changed to ToString method call.
svn path=/trunk/mcs/; revision=58343
2006-03-23 09:15:18 +00:00
Konstantin Triger 833760d078 TARGET_JVM changes to let the compilation pass with csc 1.1
svn path=/trunk/mcs/; revision=55204
2006-01-08 13:15:06 +00:00
Chris Toshok 2c73ba59eb 2005-11-28 Chris Toshok <[email protected]>
* SmtpClient.cs: ignore warning 618 (obsolete) when compiling an
	already obsolete api (in the 2.0 case).

	* MailAttachment.cs: same.

	* MailMessageWrapper.cs: same.

	* MailMessage.cs: same.


svn path=/trunk/mcs/; revision=53586
2005-11-28 21:03:50 +00:00
Gert Driesen 08ac020979 * MailPriority.cs: Marked obsolete in 2.0 profile. Fixed line endings.
* SmtpMail.cs: Added workaround message to ensure same warning is
generated as MS.NET 2.0.
* MailMessage.cs: same and fixed line endings. Set eol-style to native.
* MailEncoding.cs: same.
* MailFormat.cs: same.
* MailAttachment.cs: same.

svn path=/trunk/mcs/; revision=50090
2005-09-15 16:53:38 +00:00
Sebastien Pouliot a80ca80124 2005-09-13 Sebastien Pouliot <[email protected]>
* SmtpMail.cs: Added an Assert for FileIOPermission so it's possible
	to send attachments (in this case MailAttachment is already protected
	but doesn't open|read the file itself).


svn path=/trunk/mcs/; revision=49991
2005-09-14 00:07:26 +00:00
Sebastien Pouliot 2a07a67b8a 2005-09-09 Sebastien Pouliot <[email protected]>
* MailAttachment.cs: Added [Link|Inheritance]Demand for Minimal. Added
	FileIOPermission for Read in the constructor. Added [Obsolete] in 2.0.
	* MailEncoding.cs: Removed [Serializable] and added [Obsolete] in 2.0.
	* MailFormat.cs: Removed [Serializable] and added [Obsolete] in 2.0.
	* MailMessage.cs: Removed references to RelatedBodyParts (2.0). Added 
	[Link|Inheritance]Demand for Minimal. Added [Obsolete] in 2.0.
	* MailMessageWrapper.cs: Removed references to RelatedBodyParts (2.0).
	* MailPriority.cs: Removed [Serializable] in 2.0. No [Obsolete] ?
	* SmtpClient.cs: Removed references to RelatedBodyParts (2.0).
	* SmtpMail.cs: Added [Link|Inheritance]Demand for Minimal. Added 
	Demand for Medium on Send method.Added [Obsolete] in 2.0.


svn path=/trunk/mcs/; revision=49811
2005-09-09 17:11:18 +00:00
Ben Maurer 2db31ba22c round one
svn path=/trunk/mcs/; revision=48990
2005-08-27 21:03:38 +00:00
Ilya Kharmatsky 5db3af64bb svn path=/trunk/mcs/; revision=46209 2005-06-19 09:28:35 +00:00
Gonzalo Paniagua Javier d350ba9efd 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
* SmtpClient.cs:
	* SmtpStream.cs: removed warnings.


svn path=/trunk/mcs/; revision=43362
2005-04-20 22:20:37 +00:00
Lluis Sanchez 4b64fb1699 2005-01-28 Lluis Sanchez Gual <[email protected]>
* Base64AttachmentEncoder.cs: Fixed warning.


svn path=/trunk/mcs/; revision=39729
2005-01-29 00:03:20 +00:00
Sanja Gupta 04e50b3784 ChangeLog: Updated.
SmtpClient.cs: Fixed bug 68829.

svn path=/trunk/mcs/; revision=35351
2004-10-27 11:01:09 +00:00
Sanja Gupta 293a17e582 ChangeLog: Updated ChangeLog
MailMessageWrapper.cs: Added a comment to add Date header.
SmtpClient.cs: Updated functionality to add RelatedBodyPart to
        MIME message.

svn path=/trunk/mcs/; revision=32928
2004-08-27 13:49:32 +00:00
Sanja Gupta 491c630baa ChangeLog: Updated ChangeLog.
SmtpClient.cs: Added functionality to add RelatedBodyPart to MIME message.

svn path=/trunk/mcs/; revision=32874
2004-08-26 11:50:01 +00:00
Sanja Gupta e4334426be ChangeLog: Updated ChangeLog.
MailMessageWrapper.cs: Added NET_2_0 property and another missing
        property from NET_1_1.
RelatedBodyPart.cs: Error detection and handling.
SmtpClient.cs: Upgraded for NET_1_1 and WIP for NET_2_0.

svn path=/trunk/mcs/; revision=32822
2004-08-25 12:59:38 +00:00
Sanja Gupta 01689a66a9 ChangeLog: Updated ChangeLog.
MailEncoding.cs:
MailFormat.cs:
MailPriority.cs: Added NET_2_0 attribute.

svn path=/trunk/mcs/; revision=32481
2004-08-18 12:53:04 +00:00
Sanja Gupta 6044b6c81e ChangeLog: Updated ChangeLog.
MailMessage.cs: Added new property RelatedBodyParts.
RelatedBodyPart.cs: Added new file.

svn path=/trunk/mcs/; revision=32476
2004-08-18 04:09:30 +00:00
Gonzalo Paniagua Javier bc9587697a 2004-08-10 Gonzalo Paniagua Javier <[email protected]>
* SmtpClient.cs: multipart mails default body format is now the same as
	the one used for single part mails instead of being forced to
	"text/plain".

svn path=/trunk/mcs/; revision=32174
2004-08-10 19:35:44 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gonzalo Paniagua Javier a63f416ff7 2004-02-27 Gonzalo Paniagua Javier <[email protected]>
* MailMessage.cs: patch by John Luke that initialized the fields in
	the message and makes Fields return the same as in MS.NET. Fixes bug
	#54908.

svn path=/trunk/mcs/; revision=23528
2004-02-27 13:44:13 +00:00
Gonzalo Paniagua Javier 195a98bea2 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
* MailMessage.cs: added Fields property.

svn path=/trunk/mcs/; revision=21292
2003-12-18 01:16:26 +00:00
Gonzalo Paniagua Javier fe9a1a15cd 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
* MailMessageWrapper.cs: fixed typo that made all messages be sent as
	html, even when the body is marked as text. Path by Mohammad DAMT.
	Closes bug #51177.

svn path=/trunk/mcs/; revision=20256
2003-11-20 04:36:08 +00:00
Gonzalo Paniagua Javier 81f6e15911 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
* MailAddress.cs: return null instead of exception when the address is
	empty.

	* MailAddressCollection.cs: ignore null addresses.
	* SmtpMail.cs: add the exception we get as inner exception so we know
	where the error is.

	Fixes bug #45746.

svn path=/trunk/mcs/; revision=15886
2003-07-03 11:16:03 +00:00
Per Arneng 9da46b6420 updated with changes from Tobias DiPasquale
svn path=/trunk/mcs/; revision=14083
2003-04-29 00:40:49 +00:00
Per Arneng 8d5a646b5c updated with the MailUtil
svn path=/trunk/mcs/; revision=12788
2003-03-24 19:42:08 +00:00
Per Arneng 43697b86ba Bcc is now working, Unique boundaries, Encoded headers when needed
svn path=/trunk/mcs/; revision=12787
2003-03-24 19:40:00 +00:00
Per Arneng cc8601c95b Fixed invalid cast exception
svn path=/trunk/mcs/; revision=12785
2003-03-24 18:02:39 +00:00
Per Arneng a563002193 Minor update. MailUtil used in MailAddress
svn path=/trunk/mcs/; revision=12784
2003-03-24 17:58:44 +00:00
Per Arneng b2c0db97c2 Added MailUtil
svn path=/trunk/mcs/; revision=12783
2003-03-24 17:51:25 +00:00
Per Arneng 003d7b8a4b Compatibillity update: Made some changes to make everything
work closer to how .NET sdk works.

svn path=/trunk/mcs/; revision=12730
2003-03-21 16:44:47 +00:00
Per Arneng 15c23f78bc Added MailHeader to handle the mail headers
svn path=/trunk/mcs/; revision=12465
2003-03-12 23:20:03 +00:00
Per Arneng 3f7490d56d Added more comments
svn path=/trunk/mcs/; revision=12395
2003-03-09 23:32:31 +00:00
Per Arneng cfda453755 Added comments to the code
svn path=/trunk/mcs/; revision=12394
2003-03-09 23:26:04 +00:00
Per Arneng 0dc5c9c672 Replaced by IAttachmentEncoder.cs
svn path=/trunk/mcs/; revision=12393
2003-03-09 22:57:55 +00:00
Per Arneng e1142c0258 Added UUEncoding for attachments.
Created and Attachment encoder interface which
Base64 and UUEncode implements.

svn path=/trunk/mcs/; revision=12392
2003-03-09 22:39:31 +00:00
Per Arneng ba2c0d13f4 Updated the changelog nd removed the obsolete SmtpMessage.cs
svn path=/trunk/mcs/; revision=12265
2003-03-06 21:16:58 +00:00
Per Arneng 065c9875d8 Added MailMessageWrapper to replace SmtpMessage
svn path=/trunk/mcs/; revision=12264
2003-03-06 21:13:04 +00:00
Per Arneng cb9e18ec9d Added classes:
SmtpMessage - A more sofisticated mail container than MailMessage
	MailAddress - A class that represents a mail address
	MailAddressCollection - A collection of mail adresses

Theese classes where added to support the funtionality of serveral
recievers and Cc and Bcc. And also to ensure the format of the
address strings.

svn path=/trunk/mcs/; revision=12230
2003-03-05 21:26:26 +00:00
Per Arneng f4c01192b0 Updated with a change to the parsing code. some servers
send 200-xxxxx instead of 200 xxxxxx. Thnx Elan Feingold

svn path=/trunk/mcs/; revision=12059
2003-02-28 10:55:57 +00:00
Per Arneng 6c729d5040 Removed an old FIXME
svn path=/trunk/mcs/; revision=12016
2003-02-27 00:32:32 +00:00
Per Arneng c836c2b8e7 added author comment
svn path=/trunk/mcs/; revision=12015
2003-02-26 23:47:19 +00:00
Per Arneng e9adfe4a34 Added the MailEncdoder class to be responsible for base64,UU encoding
The base64 method is now diff tested against uuencode

svn path=/trunk/mcs/; revision=12014
2003-02-26 22:50:45 +00:00
Per Arneng 83591627cb Fixed subject encoding.. does like ms now
svn path=/trunk/mcs/; revision=12006
2003-02-26 19:21:26 +00:00
Per Arneng a771ee1188 Added a FIXME comment on boundaries
svn path=/trunk/mcs/; revision=11990
2003-02-26 06:04:11 +00:00
Per Arneng b2c2697cf8 SmtpServer now defaults to localhost
svn path=/trunk/mcs/; revision=11989
2003-02-26 05:57:18 +00:00
Per Arneng bd922647f4 application/octet-stream for attatchment mimetypes
svn path=/trunk/mcs/; revision=11988
2003-02-26 05:35:44 +00:00
Per Arneng a3df14a694 Body is now encoded with BodyEncoding.GetBytes
svn path=/trunk/mcs/; revision=11986
2003-02-26 04:58:25 +00:00
Per Arneng 9984280aca Set the Content-Transfet-Encoding based on contents ASCII 7bit other 8bit
svn path=/trunk/mcs/; revision=11984
2003-02-26 04:36:00 +00:00