69 lines
1.8 KiB
C#
69 lines
1.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Net.Mail
|
|
{
|
|
/// <summary>
|
|
/// This class contains a string representation of Pop3 commands
|
|
/// that can be executed.
|
|
/// </summary>
|
|
internal static class Pop3Commands
|
|
{
|
|
/// <summary>
|
|
/// The USER command followed by a space.
|
|
/// </summary>
|
|
public const string User = "USER ";
|
|
|
|
/// <summary>
|
|
/// The CRLF escape sequence.
|
|
/// </summary>
|
|
public const string Crlf = "\r\n";
|
|
|
|
/// <summary>
|
|
/// The QUIT command followed by a CRLF.
|
|
/// </summary>
|
|
public const string Quit = "QUIT\r\n";
|
|
|
|
/// <summary>
|
|
/// The STAT command followed by a CRLF.
|
|
/// </summary>
|
|
public const string Stat = "STAT\r\n";
|
|
|
|
/// <summary>
|
|
/// The LIST command followed by a space.
|
|
/// </summary>
|
|
public const string List = "LIST ";
|
|
|
|
/// <summary>
|
|
/// The RETR command followed by a space.
|
|
/// </summary>
|
|
public const string Retr = "RETR ";
|
|
|
|
/// <summary>
|
|
/// The NOOP command followed by a CRLF.
|
|
/// </summary>
|
|
public const string Noop = "NOOP\r\n";
|
|
|
|
/// <summary>
|
|
/// The DELE command followed by a space.
|
|
/// </summary>
|
|
public const string Dele = "DELE ";
|
|
|
|
/// <summary>
|
|
/// The RSET command followed by a CRLF.
|
|
/// </summary>
|
|
public const string Rset = "RSET\r\n";
|
|
|
|
/// <summary>
|
|
/// The PASS command followed by a space.
|
|
/// </summary>
|
|
public const string Pass = "PASS ";
|
|
|
|
/// <summary>
|
|
/// The TOP command followed by a space.
|
|
/// </summary>
|
|
public const string Top = "TOP ";
|
|
}
|
|
}
|