예제 #1
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that owns this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 internal GlobalMessageRuleActionBase(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description)
 {
     m_pRule       = rule;
     m_pOwner      = owner;
     m_ID          = id;
     m_Description = description;
 }
예제 #2
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that owns this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 internal GlobalMessageRuleActionBase(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description)
 {
     m_pRule       = rule;
     m_pOwner      = owner;
     m_ID          = id;
     m_Description = description;
 }
예제 #3
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 internal GlobalMessageRuleAction_DeleteMessage(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description) : base(rule, owner, id, description)
 {
     /*  Action data structure:
      *      <ActionData>
      *      </ActionData>
      */
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 internal GlobalMessageRuleAction_DeleteMessage(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description) : base(rule,owner,id,description)
 {
     /*  Action data structure:
             <ActionData>
             </ActionData>
     */
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="host">FTP server where to store message.</param>
 /// <param name="port">FTP server port.</param>
 /// <param name="userName">FTP server user name.</param>
 /// <param name="password">FTP server user password.</param>
 /// <param name="folder">FTP folder where to store message.</param>
 internal GlobalMessageRuleAction_StoreToFtp(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string host, int port, string userName, string password, string folder) : base(rule, owner, id, description)
 {
     m_Server   = host;
     m_Port     = port;
     m_UserName = userName;
     m_Password = password;
     m_Folder   = folder;
 }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="rule">Onwer rule that ows this action.</param>
        /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
        /// <param name="id">Action ID.</param>
        /// <param name="description">Action description.</param>
        /// <param name="host">FTP server where to store message.</param>
        /// <param name="port">FTP server port.</param>
        /// <param name="userName">FTP server user name.</param>
        /// <param name="password">FTP server user password.</param>
        /// <param name="folder">FTP folder where to store message.</param>
        internal GlobalMessageRuleAction_StoreToFtp(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,string host,int port,string userName,string password,string folder) : base(rule,owner,id,description)
        {
            m_Server   = host;
            m_Port     = port;
            m_UserName = userName;
            m_Password = password;
            m_Folder   = folder;

        }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="actionData">Action data.</param>
 internal GlobalMessageRuleAction_ForwardToEmail(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,byte[] actionData) : base(rule,owner,id,description)
 {
     /*  Action data structure:
             <ActionData>
                 <Email></Email>
             </ActionData>
     */
                 
     XmlTable table = new XmlTable("ActionData");
     table.Parse(actionData);
     m_EmailAddress = table.GetValue("Email");            
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="actionData">Action data.</param>
 internal GlobalMessageRuleAction_SendError(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,byte[] actionData) : base(rule,owner,id,description)
 {
     /*  Action data structure:
             <ActionData>
                 <ErrorText></ErrorText>
             </ActionData>
     */
                 
     XmlTable table = new XmlTable("ActionData");
     table.Parse(actionData);
     m_ErrorText = table.GetValue("ErrorText");            
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="actionData">Action data.</param>
 internal GlobalMessageRuleAction_MoveToImapFolder(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,byte[] actionData) : base(rule,owner,id,description)
 {
     /*  Action data structure:
             <ActionData>
                 <Folder></Folder>
             </ActionData>
     */
                 
     XmlTable table = new XmlTable("ActionData");
     table.Parse(actionData);
     m_Folder = table.GetValue("Folder");            
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="actionData">Action data.</param>
 internal GlobalMessageRuleAction_RemoveHeaderField(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,byte[] actionData) : base(rule,owner,id,description)
 {
     /*  Action data structure:
             <ActionData>
                 <HeaderFieldName></HeaderFieldName>
             </ActionData>
     */
                 
     XmlTable table = new XmlTable("ActionData");
     table.Parse(actionData);
     m_HeaderFieldName = table.GetValue("HeaderFieldName");            
 }
예제 #11
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="rule">Onwer rule that ows this action.</param>
        /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
        /// <param name="id">Action ID.</param>
        /// <param name="description">Action description.</param>
        /// <param name="actionData">Action data.</param>
        internal GlobalMessageRuleAction_ForwardToEmail(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            /*  Action data structure:
             *      <ActionData>
             *          <Email></Email>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Parse(actionData);
            m_EmailAddress = table.GetValue("Email");
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="rule">Onwer rule that ows this action.</param>
        /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
        /// <param name="id">Action ID.</param>
        /// <param name="description">Action description.</param>
        /// <param name="actionData">Action data.</param>
        internal GlobalMessageRuleAction_RemoveHeaderField(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            /*  Action data structure:
             *      <ActionData>
             *          <HeaderFieldName></HeaderFieldName>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Parse(actionData);
            m_HeaderFieldName = table.GetValue("HeaderFieldName");
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="rule">Onwer rule that ows this action.</param>
        /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
        /// <param name="id">Action ID.</param>
        /// <param name="description">Action description.</param>
        /// <param name="actionData">Action data.</param>
        internal GlobalMessageRuleAction_StoreToDiskFolder(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            /*  Action data structure:
             *      <ActionData>
             *          <Folder></Folder>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Parse(actionData);
            m_Folder = table.GetValue("Folder");
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="rule">Onwer rule that ows this action.</param>
        /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
        /// <param name="id">Action ID.</param>
        /// <param name="description">Action description.</param>
        /// <param name="actionData">Action data.</param>
        internal GlobalMessageRuleAction_SendError(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            /*  Action data structure:
             *      <ActionData>
             *          <ErrorText></ErrorText>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Parse(actionData);
            m_ErrorText = table.GetValue("ErrorText");
        }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="actionData">Action data.</param>
 internal GlobalMessageRuleAction_PostToHttp(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,byte[] actionData) : base(rule,owner,id,description)
 {
     /*  Action data structure:
             <ActionData>
                 <URL></URL>
                 <FileName></FileName>
             </ActionData>
     */
                 
     XmlTable table = new XmlTable("ActionData");
     table.Parse(actionData);
     m_Url = table.GetValue("URL");
  // table.GetValue("FileName");            
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="actionData">Action data.</param>
 internal GlobalMessageRuleAction_ExecuteProgram(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,byte[] actionData) : base(rule,owner,id,description)
 {
     /*  Action data structure:
             <ActionData>
                 <Program></Program>
                 <Arguments></Arguments>
             </ActionData>
     */
                 
     XmlTable table = new XmlTable("ActionData");
     table.Parse(actionData);
     m_Program     = table.GetValue("Program");
     m_ProgramArgs = table.GetValue("Arguments");            
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="actionData">Action data.</param>
 internal GlobalMessageRuleAction_ForwardToHost(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,byte[] actionData) : base(rule,owner,id,description)
 {
     /*  Action data structure:
             <ActionData>
                 <Host></Host>
                 <Port></Port>
             </ActionData>
     */
                 
     XmlTable table = new XmlTable("ActionData");
     table.Parse(actionData);
     m_Host = table.GetValue("Host");
     m_Port = Convert.ToInt32(table.GetValue("Port"));
 }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="rule">Onwer rule that ows this action.</param>
        /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
        /// <param name="id">Action ID.</param>
        /// <param name="description">Action description.</param>
        /// <param name="actionData">Action data.</param>
        internal GlobalMessageRuleAction_ForwardToHost(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            /*  Action data structure:
             *      <ActionData>
             *          <Host></Host>
             *          <Port></Port>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Parse(actionData);
            m_Host = table.GetValue("Host");
            m_Port = Convert.ToInt32(table.GetValue("Port"));
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="rule">Onwer rule that ows this action.</param>
        /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
        /// <param name="id">Action ID.</param>
        /// <param name="description">Action description.</param>
        /// <param name="actionData">Action data.</param>
        internal GlobalMessageRuleAction_AutoResponse(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,byte[] actionData) : base(rule,owner,id,description)
        {
            /*  Action data structure:
                    <ActionData>
                        <From></From>
                        <Message></Message>
                    </ActionData>
            */

            
            XmlTable table = new XmlTable("ActionData");
            table.Parse(actionData);
            m_From    = table.GetValue("From");
            m_Message = System.Text.Encoding.Default.GetBytes(table.GetValue("Message"));  
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="rule">Onwer rule that ows this action.</param>
        /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
        /// <param name="id">Action ID.</param>
        /// <param name="description">Action description.</param>
        /// <param name="actionData">Action data.</param>
        internal GlobalMessageRuleAction_ExecuteProgram(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            /*  Action data structure:
             *      <ActionData>
             *          <Program></Program>
             *          <Arguments></Arguments>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Parse(actionData);
            m_Program     = table.GetValue("Program");
            m_ProgramArgs = table.GetValue("Arguments");
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="rule">Onwer rule that ows this action.</param>
        /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
        /// <param name="id">Action ID.</param>
        /// <param name="description">Action description.</param>
        /// <param name="actionData">Action data.</param>
        internal GlobalMessageRuleAction_PostToHttp(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            /*  Action data structure:
             *      <ActionData>
             *          <URL></URL>
             *          <FileName></FileName>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Parse(actionData);
            m_Url = table.GetValue("URL");
            // table.GetValue("FileName");
        }
예제 #22
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="rule">Onwer rule that ows this action.</param>
        /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
        /// <param name="id">Action ID.</param>
        /// <param name="description">Action description.</param>
        /// <param name="actionData">Action data.</param>
        internal GlobalMessageRuleAction_AutoResponse(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            /*  Action data structure:
             *      <ActionData>
             *          <From></From>
             *          <Message></Message>
             *      </ActionData>
             */


            XmlTable table = new XmlTable("ActionData");

            table.Parse(actionData);
            m_From    = table.GetValue("From");
            m_Message = System.Text.Encoding.Default.GetBytes(table.GetValue("Message"));
        }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="actionData">Action data.</param>
 internal GlobalMessageRuleAction_StoreToFtp(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,byte[] actionData) : base(rule,owner,id,description)
 {
     /*  Action data structure:
             <ActionData>
                 <Server></Server>
                 <Port></Server>
                 <User></User>
                 <Password></Password>
                 <Folder></Folder>
             </ActionData>
     */
                 
     XmlTable table = new XmlTable("ActionData");
     table.Parse(actionData);
     m_Server   = table.GetValue("Server");
     m_Port     = Convert.ToInt32(table.GetValue("Port"));
     m_UserName = table.GetValue("User");
     m_Password = table.GetValue("Password");
     m_Folder   = table.GetValue("Folder");            
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="actionData">Action data.</param>
 internal GlobalMessageRuleAction_PostToNntpNewsgroup(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,byte[] actionData) : base(rule,owner,id,description)
 {
     /*  Action data structure:
             <ActionData>
                 <Server></Server>
                 <Port></Server>
                 <User></User>
                 <Password></Password>
                 <Newsgroup></Newsgroup>
             </ActionData>
     */
                 
     XmlTable table = new XmlTable("ActionData");
     table.Parse(actionData);
     m_Server    = table.GetValue("Server");
     m_Port      = Convert.ToInt32(table.GetValue("Port"));
     // table.Add("User","");
     // table.Add("Password","");
     m_Newsgroup = table.GetValue("Newsgroup");            
 }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="rule">Onwer rule that ows this action.</param>
        /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
        /// <param name="id">Action ID.</param>
        /// <param name="description">Action description.</param>
        /// <param name="actionData">Action data.</param>
        internal GlobalMessageRuleAction_StoreToFtp(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            /*  Action data structure:
             *      <ActionData>
             *          <Server></Server>
             *          <Port></Server>
             *          <User></User>
             *          <Password></Password>
             *          <Folder></Folder>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Parse(actionData);
            m_Server   = table.GetValue("Server");
            m_Port     = Convert.ToInt32(table.GetValue("Port"));
            m_UserName = table.GetValue("User");
            m_Password = table.GetValue("Password");
            m_Folder   = table.GetValue("Folder");
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="rule">Onwer rule that ows this action.</param>
        /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
        /// <param name="id">Action ID.</param>
        /// <param name="description">Action description.</param>
        /// <param name="actionData">Action data.</param>
        internal GlobalMessageRuleAction_PostToNntpNewsgroup(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            /*  Action data structure:
             *      <ActionData>
             *          <Server></Server>
             *          <Port></Server>
             *          <User></User>
             *          <Password></Password>
             *          <Newsgroup></Newsgroup>
             *      </ActionData>
             */

            XmlTable table = new XmlTable("ActionData");

            table.Parse(actionData);
            m_Server = table.GetValue("Server");
            m_Port   = Convert.ToInt32(table.GetValue("Port"));
            // table.Add("User","");
            // table.Add("Password","");
            m_Newsgroup = table.GetValue("Newsgroup");
        }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="host">Host name or IP where to forward message.</param>
 /// <param name="port">Destination host port.</param>
 internal GlobalMessageRuleAction_ForwardToHost(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,string host,int port) : base(rule,owner,id,description)
 {
     m_Host = host;
     m_Port = port;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="email">Email address where to forward message.</param>
 internal GlobalMessageRuleAction_ForwardToEmail(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,string email) : base(rule,owner,id,description)
 {
     m_EmailAddress = email;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="host">Host name or IP where to forward message.</param>
 /// <param name="port">Destination host port.</param>
 internal GlobalMessageRuleAction_ForwardToHost(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string host, int port) : base(rule, owner, id, description)
 {
     m_Host = host;
     m_Port = port;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="url">HTTP URL where to post message.</param>
 internal GlobalMessageRuleAction_PostToHttp(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string url) : base(rule, owner, id, description)
 {
     m_Url = url;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="host">NTTP server where to post message.</param>
 /// <param name="port">NNTP server port.</param>
 /// <param name="newsgroup">NTTP newsgroup where to post message.</param>
 internal GlobalMessageRuleAction_PostToNntpNewsgroup(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string host, int port, string newsgroup) : base(rule, owner, id, description)
 {
     m_Server    = host;
     m_Port      = port;
     m_Newsgroup = newsgroup;
 }
 /// <summary>
 /// Default constructor. 
 /// </summary>
 /// <param name="rule">Onwer rule that owns this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="headerFieldName">Header field name.</param>
 /// <param name="headerFieldValue">Header field name.</param>
 internal GlobalMessageRuleAction_AddHeaderField(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,string headerFieldName,string headerFieldValue) : base(rule,owner,id,description)
 {
     m_HeaderFieldName  = headerFieldName;
     m_HeaderFieldValue = headerFieldValue;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="errorText">Error text.</param>
 internal GlobalMessageRuleAction_SendError(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string errorText) : base(rule, owner, id, description)
 {
     m_ErrorText = errorText;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="from">MAIL FROM: what is reported to destination SMTP server when auto response is sent.</param>
 /// <param name="message">Full auto response message. This must be rfc 2822 defined message.</param>
 internal GlobalMessageRuleAction_AutoResponse(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,string from,byte[] message) : base(rule,owner,id,description)
 {
     m_From    = from;
     m_Message = message;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="errorText">Error text.</param>
 internal GlobalMessageRuleAction_SendError(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,string errorText) : base(rule,owner,id,description)
 {
     m_ErrorText = errorText;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="headerField">Header field name what to remove.</param>
 internal GlobalMessageRuleAction_RemoveHeaderField(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string headerField) : base(rule, owner, id, description)
 {
     m_HeaderFieldName = headerField;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="folder">Disk folder where to store message.</param>
 internal GlobalMessageRuleAction_StoreToDiskFolder(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string folder) : base(rule, owner, id, description)
 {
     m_Folder = folder;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="host">NTTP server where to post message.</param>
 /// <param name="port">NNTP server port.</param>
 /// <param name="newsgroup">NTTP newsgroup where to post message.</param>
 internal GlobalMessageRuleAction_PostToNntpNewsgroup(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,string host,int port,string newsgroup) : base(rule,owner,id,description)
 {
     m_Server    = host;
     m_Port      = port;
     m_Newsgroup = newsgroup;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="url">HTTP URL where to post message.</param>
 internal GlobalMessageRuleAction_PostToHttp(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,string url) : base(rule,owner,id,description)
 {
     m_Url = url;
 }
예제 #40
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="from">MAIL FROM: what is reported to destination SMTP server when auto response is sent.</param>
 /// <param name="message">Full auto response message. This must be rfc 2822 defined message.</param>
 internal GlobalMessageRuleAction_AutoResponse(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string from, byte[] message) : base(rule, owner, id, description)
 {
     m_From    = from;
     m_Message = message;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="program">Program to execute.</param>
 /// <param name="programArgs">Executable program arguments.</param>
 internal GlobalMessageRuleAction_ExecuteProgram(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,string program,string programArgs) : base(rule,owner,id,description)
 {
     m_Program     = program;
     m_ProgramArgs = programArgs;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="program">Program to execute.</param>
 /// <param name="programArgs">Executable program arguments.</param>
 internal GlobalMessageRuleAction_ExecuteProgram(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string program, string programArgs) : base(rule, owner, id, description)
 {
     m_Program     = program;
     m_ProgramArgs = programArgs;
 }
예제 #43
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="email">Email address where to forward message.</param>
 internal GlobalMessageRuleAction_ForwardToEmail(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string email) : base(rule, owner, id, description)
 {
     m_EmailAddress = email;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that owns this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="headerFieldName">Header field name.</param>
 /// <param name="headerFieldValue">Header field name.</param>
 internal GlobalMessageRuleAction_AddHeaderField(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string headerFieldName, string headerFieldValue) : base(rule, owner, id, description)
 {
     m_HeaderFieldName  = headerFieldName;
     m_HeaderFieldValue = headerFieldValue;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="folder">IMAP folder where to move message. If specified folder doesn't exist, message is store users Inbox.</param>
 internal GlobalMessageRuleAction_MoveToImapFolder(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,string folder) : base(rule,owner,id,description)
 {
     m_Folder = folder;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="rule">Onwer rule that ows this action.</param>
 /// <param name="owner">Owner GlobalMessageRuleActionCollection that owns this action.</param>
 /// <param name="id">Action ID.</param>
 /// <param name="description">Action description.</param>
 /// <param name="headerField">Header field name what to remove.</param>
 internal GlobalMessageRuleAction_RemoveHeaderField(GlobalMessageRule rule,GlobalMessageRuleActionCollection owner,string id,string description,string headerField) : base(rule,owner,id,description)
 {
     m_HeaderFieldName = headerField;
 }