GetMessage_EventArgs.cs
上传用户:horngjaan
上传日期:2009-12-12
资源大小:2882k
文件大小:1k
- using System;
- namespace LumiSoft.MailServer.POP3
- {
- /// <summary>
- /// Provides data for the GetMailEvent event.
- /// </summary>
- public class GetMessage_EventArgs
- {
- private string m_MessageID = "";
- private byte[] m_Message = null;
- private string m_UserName = "";
- /// <summary>
- /// Default constructor.
- /// </summary>
- /// <param name="messageID">Message ID.</param>
- /// <param name="mailbox">Mailbox name</param>
- public GetMessage_EventArgs(string messageID,string mailbox)
- {
- m_MessageID = messageID;
- m_UserName = mailbox;
- }
- #region properties Implementation
- /// <summary>
- /// ID of message which to retrieve.
- /// </summary>
- public string MessageID
- {
- get{ return m_MessageID; }
- }
- /// <summary>
- /// Mail message which is delivered to user.
- /// </summary>
- public byte[] Message
- {
- get{ return m_Message; }
- set{ m_Message = value; }
- }
- /// <summary>
- /// User Name.
- /// </summary>
- public string UserName
- {
- get{ return m_UserName; }
- }
- #endregion
- }
- }