|
using System;
namespace LumiSoft.Net.POP3.Client
{
/// <summary>
/// Holds POP3 message info.
/// </summary>
public class POP3_MessageInfo
{
private string m_MessageID = "";
private int m_MessageNo = 0;
private long m_MessageSize = 0;
/// <summary>
/// Default constructor.
/// </summary>
/// <param name="messageID">Message unique ID.</param>
/// <param name="messageNo">Message number.</param>
/// <param name="messageSize">Message size in bytes.</param>
public POP3_MessageInfo(string messageID,int messageNo,long messageSize)
{
m_MessageID = messageID;
m_MessageNo = messageNo;
m_MessageSize = messageSize;
}
#region Properties Implementation
/// <summary>
/// Gets message unique ID returned by pop3 server.
/// </summary>
public string MessageUID
{
get{ return m_MessageID; }
}
/// <summary>
/// Gets message index number in POP3 server.
/// </summary>
public int MessageNumber
{
get{ return m_MessageNo; }
}
/// <summary>
/// Gets message size in bytes.
/// </summary>
public long MessageSize
{
get{ return m_MessageSize; }
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.