Update of /cvsroot/csmail/csmail/src/CSMail
In directory usw-pr-cvs1:/tmp/cvs-serv4205
Modified Files:
ChangeLog MimeMessage.cs TransferEncoding.cs
Log Message:
2002-10-31
* MimeMessage.cs : ContentLanguage { get; set; },
: ReplyTo { get; set; },
: TransferEncodingValue { get; set; },
: TransferEncoding { get; set; }
- Implemented.
* TransferEncoding.cs : UUEncode - Removed.
Check http://www.freesoft.org/CIE/RFC/1521/5.htm
for the possible values.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/csmail/csmail/src/CSMail/ChangeLog,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- ChangeLog 31 Oct 2002 06:30:12 -0000 1.63
+++ ChangeLog 31 Oct 2002 10:41:21 -0000 1.64
@@ -1,6 +1,17 @@
2002-10-31 Gaurav Vaish <mastergaurav AT users DOT sf DOT net>
+ * MimeMessage.cs : ContentLanguage { get; set; },
+ : ReplyTo { get; set; },
+ : TransferEncodingValue { get; set; },
+ : TransferEncoding { get; set; }
+ - Implemented.
+ * TransferEncoding.cs : UUEncode - Removed.
+ Check http://www.freesoft.org/CIE/RFC/1521/5.htm
+ for the possible values.
+
+2002-10-31 Gaurav Vaish <mastergaurav AT users DOT sf DOT net>
+
* ContentDisposition.cs : FileName - Changed to Filename.
* MimeMessage.cs : Disposition { get; set; }
- Implemented.
Index: MimeMessage.cs
===================================================================
RCS file: /cvsroot/csmail/csmail/src/CSMail/MimeMessage.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- MimeMessage.cs 31 Oct 2002 06:30:13 -0000 1.7
+++ MimeMessage.cs 31 Oct 2002 10:41:21 -0000 1.8
@@ -193,7 +193,7 @@
return (toList + ccList);
}
}
-
+
public override NewsAddressList NewsGroups
{
get
@@ -201,7 +201,7 @@
return ngroupList;
}
}
-
+
public override DateTime SentDate
{
get
@@ -291,16 +291,21 @@
}
}
- [MailTODO]
public override EMailAddressList ReplyTo
{
get
{
- throw new NotImplementedException();
+ string rt = Headers["Reply-To"];
+ if(rt != null && rt.Length > 0)
+ return new EMailAddressList(rt);
+ return new EMailAddressList(From);
}
set
{
- throw new NotImplementedException();
+ if(value != null)
+ Headers["Reply-To"] = value.ToString();
+ else
+ Headers["Reply-To"] = null;
}
}
@@ -328,16 +333,15 @@
}
}
- [MailTODO]
public virtual string[] ContentLanguage
{
get
{
- throw new NotImplementedException();
+ return MimeUtils.GetContentLanguage(this);
}
set
{
- throw new NotImplementedException();
+ MimeUtils.SetContentLanguage(this, value);
}
}
@@ -370,11 +374,26 @@
{
get
{
- throw new NotImplementedException();
+ string hval;
+ return MimeUtils.GetTransferEncoding(this, out hval);
}
set
{
- throw new NotImplementedException();
+ MimeUtils.SetTransferEncoding(this, value);
+ }
+ }
+
+ public virtual string TransferEncodingValue
+ {
+ get
+ {
+ string hval;
+ MimeUtils.GetTransferEncoding(this, out hval);
+ return hval;
+ }
+ set
+ {
+ MimeUtils.SetTransferEncoding(this, value);
}
}
Index: TransferEncoding.cs
===================================================================
RCS file: /cvsroot/csmail/csmail/src/CSMail/TransferEncoding.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TransferEncoding.cs 5 Sep 2002 05:17:49 -0000 1.2
+++ TransferEncoding.cs 31 Oct 2002 10:41:21 -0000 1.3
@@ -40,10 +40,6 @@
/// </summary>
Binary,
/// <summary>
- /// The content is uuencode-d.
- /// </summary>
- UUEncode,
- /// <summary>
/// Any used defined encoding method.
/// </summary>
UserDefined
|