Click here to Skip to main content
15,896,154 members
Articles / Programming Languages / C#

LumiSoft MailServer

Rate me:
Please Sign up or sign in to vote.
3.79/5 (22 votes)
17 Nov 2006CPOL1 min read 323.3K   4.9K   74  
Full featured SMTP/POP3/IMAP server
using System;
using System.Collections.Generic;
using System.Text;

namespace LumiSoft.MailServer.API.UserAPI
{
    /// <summary>
    /// Specifies match action done when global message rule is matched.
    /// </summary>
    public enum GlobalMessageRuleAction_enum
    {
        /// <summary>
        /// AutoResponse is sent to specified recipient.
        /// </summary>
        AutoResponse = 1,

        /// <summary>
        /// Deletes message.
        /// </summary>
        DeleteMessage = 2,

        /// <summary>
        /// Message is forwarded to specified email.
        /// </summary>
        ForwardToEmail = 3,

        /// <summary>
        /// Message is forwarded to specified host.
        /// </summary>
        ForwardToHost = 4,

        /// <summary>
        /// Message is stored to specified disk folder.
        /// </summary>
        StoreToDiskFolder = 5,

        /// <summary>
        /// Specified program is executed.
        /// </summary>
        ExecuteProgram = 6,

        /// <summary>
        /// Moves message to specified message folder(for example: Junk). This will take effect only for local recipients only !
        /// </summary>
        MoveToIMAPFolder = 7,

        /// <summary>
        /// Appends specified header field to message.
        /// </summary>
        AddHeaderField = 8,

        /// <summary>
        /// Removes specified header field or fields if there are multiple of them.
        /// </summary>
        RemoveHeaderField = 9,

        /// <summary>
        /// Sends error to currently connected client. NOTE: Error text may contain ASCII printable chars only and maximum length is 500.
        /// </summary>
        SendErrorToClient = 10, 

        /// <summary>
        /// Stores message to specified FTP server folder.
        /// </summary>
        StoreToFTPFolder = 11,

        /// <summary>
        /// Posts message to specified NNTP newsgroup.
        /// </summary>
        PostToNNTPNewsGroup = 12,

        /// <summary>
        /// Posts message to specified page via HTTP.
        /// </summary>
        PostToHTTP = 13,
    }
}

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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Estonia Estonia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions