LumiSoft Mail Server User API
GlobalMessageRuleActionCollection Class
Namespaces > LumiSoft.MailServer.API.UserAPI > GlobalMessageRuleActionCollection
The GlobalMessageRuleActionCollection object represents global message rule actions in global message rule.
Syntax
C#Visual BasicManaged C++
public class GlobalMessageRuleActionCollection : IEnumerable
Public Class GlobalMessageRuleActionCollection _
	Implements IEnumerable
public ref class GlobalMessageRuleActionCollection : IEnumerable
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
Add_AddHeaderField(String, String, String)
Creates and adds new 'Add Header Field' action to GlobalMessageRuleActionCollection collection.
Add_AutoResponse(String, String, Byte[]())
Creates and adds new 'Auto Response' action to GlobalMessageRuleActionCollection collection.
Add_DeleteMessage(String)
Creates and adds new 'Delete Message' action to GlobalMessageRuleActionCollection collection.
Add_ExecuteProgram(String, String, String)
Creates and adds new 'Execute Program' action to GlobalMessageRuleActionCollection collection.
Add_ForwardToEmail(String, String)
Creates and adds new 'Forward To Email' action to GlobalMessageRuleActionCollection collection.
Add_ForwardToHost(String, String, Int32)
Creates and adds new 'Forward To Host' action to GlobalMessageRuleActionCollection collection.
Add_MoveToImapFolder(String, String)
Creates and adds new 'Move To IMAP Folder' action to GlobalMessageRuleActionCollection collection.
Add_PostToHttp(String, String)
Creates and adds new 'Post To HTTP' action to GlobalMessageRuleActionCollection collection.
Add_PostToNntp(String, String, Int32, String)
Creates and adds new 'Post To NNTP Newsgroup' action to GlobalMessageRuleActionCollection collection.
Add_RemoveHeaderField(String, String)
Creates and adds new 'Remove Header Field' action to GlobalMessageRuleActionCollection collection.
Add_SendError(String, String)
Creates and adds new 'Send Error To Client' action to GlobalMessageRuleActionCollection collection.
Add_StoreToDisk(String, String)
Creates and adds new 'Store To Disk Folder' action to GlobalMessageRuleActionCollection collection.
Add_StoreToFtp(String, String, Int32, String, String, String)
Creates and adds new 'Store To FTP Folder' action to GlobalMessageRuleActionCollection collection.
Count
Gets number of global message rule actions.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()
Gets enumerator.
GetHashCode()
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
Item(Int32)
Gets a GlobalMessageRuleActionBase object in the collection by index number.
Item(String)
Gets a GlobalMessageRuleActionBase object in the collection by global message rule ID.
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(GlobalMessageRuleActionBase)
Deletes specified action from global message rule.
Rule
Gets owner message rule where this actions apply.
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
GlobalMessageRuleActionCollection

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)