[Csmail-patches] CVS: csmail/src/CSMail MimeMessage.cs,NONE,1.1 ChangeLog,1.33,1.34 Message.cs,1.7,1
Status: Pre-Alpha
Brought to you by:
mastergaurav
From: Gaurav V. <mas...@us...> - 2002-09-09 11:07:25
|
Update of /cvsroot/csmail/csmail/src/CSMail In directory usw-pr-cvs1:/tmp/cvs-serv23986 Modified Files: ChangeLog Message.cs Added Files: MimeMessage.cs Log Message: 2002-09-09 * MimeMessage.cs : Stubbed new class. * Message.cs : Modified API. Removed AddHeader(s) etc. --- NEW FILE --- /** * Namespace: CSMail * Class: MimeMessage * * Author: Gaurav Vaish * Maintainer: mastergaurav AT users DOT sf DOT net * * (C) Gaurav Vaish (2002) */ using System; using System.IO; namespace CSMail { public class MimeMessage : Message, IMimePart, IPart { [MailTODO] public MimeMessage() { throw new NotImplementedException(); } public override Multipart Content { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public override ContentType ContentType { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public override MessageFlags Flags { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public override EMailAddressList From { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public override DateTime ReceivedDate { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public override IAddressList Recipients { get { throw new NotImplementedException(); } } public override DateTime SentDate { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public override string Subject { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public override string Description { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public override ContentDisposition Disposition { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public override string Filename { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public override int Size { get { throw new NotImplementedException(); } } public override HeaderList Headers { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public string ContentID { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public string ContentLanguage { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public string ContentMD5 { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public string Text { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public TransferEncoding TransferEncoding { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } public override void AddRecipient(RecipientType type, EMailAddress email) { throw new NotImplementedException(); } public override void AddRecipients(RecipientType type, EMailAddressList emails) { throw new NotImplementedException(); } public override void AddRecipient(NewsAddress address) { throw new NotImplementedException(); } public override void AddRecipients(NewsAddressList address) { throw new NotImplementedException(); } public override Message GetReplyMessage(bool toAll) { throw new NotImplementedException(); } public override IAddressList GetRecipients(RecipientType type) { throw new NotImplementedException(); } public override void SaveChanges() { throw new NotImplementedException(); } public override void Write(TextWriter writer) { throw new NotImplementedException(); } } } Index: ChangeLog =================================================================== RCS file: /cvsroot/csmail/csmail/src/CSMail/ChangeLog,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- ChangeLog 9 Sep 2002 09:37:54 -0000 1.33 +++ ChangeLog 9 Sep 2002 11:07:22 -0000 1.34 @@ -1,6 +1,10 @@ 2002-09-09 Gaurav Vaish <mastergaurav AT users DOT sf DOT net> + * MimeMessage.cs : Stubbed new class. + +2002-09-09 Gaurav Vaish <mastergaurav AT users DOT sf DOT net> + * MimeBodyPart.cs : Stubbed new class. * MimeMultipart.cs : Stubbed new class. * BodyPart.cs : Size { get; set; } - Removed { set; } Index: Message.cs =================================================================== RCS file: /cvsroot/csmail/csmail/src/CSMail/Message.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Message.cs 6 Sep 2002 11:52:29 -0000 1.7 +++ Message.cs 9 Sep 2002 11:07:22 -0000 1.8 @@ -58,12 +58,12 @@ public abstract DateTime SentDate { get; set; } public abstract string Subject { get; set; } - public abstract void AddFrom(EMailAddress address); - public abstract void AddFrom(EMailAddressList address); + //public abstract void AddFrom(EMailAddress address); + //public abstract void AddFrom(EMailAddressList address); public abstract void AddRecipient(RecipientType type, EMailAddress email); public abstract void AddRecipients(RecipientType type, EMailAddressList emails); - public abstract void AddRecipient(NewsAddress email); - public abstract void AddRecipients(NewsAddressList email); + public abstract void AddRecipient(NewsAddress address); + public abstract void AddRecipients(NewsAddressList address); public abstract Message GetReplyMessage(bool toAll); public abstract IAddressList GetRecipients(RecipientType type); public abstract void SaveChanges(); @@ -74,10 +74,10 @@ public abstract ContentDisposition Disposition { get; set; } public abstract string Filename { get; set; } public abstract HeaderList Headers { get; set; } - public abstract int Size { get; set; } + public abstract int Size { get; } - public abstract int AddHeader(Header header); - public abstract int AddHeaders(HeaderList headers); + //public abstract int AddHeader(Header header); + //public abstract int AddHeaders(HeaderList headers); public abstract void Write(TextWriter writer); public virtual Folder Folder |