Files
lsky-pro/app/Enums/Mail/SmtpOption.php
T
2021-12-16 10:25:42 +08:00

39 lines
819 B
PHP

<?php
namespace App\Enums\Mail;
use BenSampo\Enum\Enum;
/**
* @method static static Host()
* @method static static Port()
* @method static static Encryption()
* @method static static Username()
* @method static static Password()
* @method static static Timeout()
* @method static static AuthMode()
*/
final class SmtpOption extends Enum
{
/** @var string 主机地址 */
const Host = 'host';
/** @var string 连接端口 */
const Port = 'port';
/** @var string 加密方式 */
const Encryption = 'encryption';
/** @var string 用户名 */
const Username = 'username';
/** @var string 密码 */
const Password = 'password';
/** @var string 超时时间 */
const Timeout = 'timeout';
/** @var string 认证模式 */
const AuthMode = 'auth_mode';
}