RaspberryIO/Unosquare.Swan/Networking/SmtpDefinitions.cs
2019-12-03 18:44:25 +01:00

29 lines
732 B
C#

using System;
namespace Unosquare.Swan.Networking {
/// <summary>
/// Contains useful constants and definitions.
/// </summary>
public static class SmtpDefinitions {
/// <summary>
/// The string sequence that delimits the end of the DATA command.
/// </summary>
public const String SmtpDataCommandTerminator = "\r\n.\r\n";
/// <summary>
/// Lists the AUTH methods supported by default.
/// </summary>
public static class SmtpAuthMethods {
/// <summary>
/// The plain method.
/// </summary>
public const String Plain = "PLAIN";
/// <summary>
/// The login method.
/// </summary>
public const String Login = "LOGIN";
}
}
}