Pop3Commands.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. 
  2. namespace Ant.Service.Utilities
  3. {
  4. /// <summary>
  5. /// This class contains a string representation of Pop3 commands
  6. /// that can be executed.
  7. /// </summary>
  8. internal static class Pop3Commands
  9. {
  10. /// <summary>
  11. /// The USER command followed by a space.
  12. /// </summary>
  13. public const string User = "USER ";
  14. /// <summary>
  15. /// The CRLF escape sequence.
  16. /// </summary>
  17. public const string Crlf = "\r\n";
  18. /// <summary>
  19. /// The QUIT command followed by a CRLF.
  20. /// </summary>
  21. public const string Quit = "QUIT\r\n";
  22. /// <summary>
  23. /// The STAT command followed by a CRLF.
  24. /// </summary>
  25. public const string Stat = "STAT\r\n";
  26. /// <summary>
  27. /// The LIST command followed by a space.
  28. /// </summary>
  29. public const string List = "LIST ";
  30. /// <summary>
  31. /// The RETR command followed by a space.
  32. /// </summary>
  33. public const string Retr = "RETR ";
  34. /// <summary>
  35. /// The NOOP command followed by a CRLF.
  36. /// </summary>
  37. public const string Noop = "NOOP\r\n";
  38. /// <summary>
  39. /// The DELE command followed by a space.
  40. /// </summary>
  41. public const string Dele = "DELE ";
  42. /// <summary>
  43. /// The RSET command followed by a CRLF.
  44. /// </summary>
  45. public const string Rset = "RSET\r\n";
  46. /// <summary>
  47. /// The PASS command followed by a space.
  48. /// </summary>
  49. public const string Pass = "PASS ";
  50. /// <summary>
  51. /// The TOP command followed by a space.
  52. /// </summary>
  53. public const string Top = "TOP ";
  54. }
  55. }