@extends('admin/public/layout') @section('title')邮箱配置@endsection @section('content') 邮箱配置 开启邮件功能 (若关闭则不会有邮件通知) get('mail_open') == 1) checked @endif > 开启 get('mail_open') != 1) checked @endif > 关闭 邮件来源地址 (默认跟发送账号保持一致,例如tipask@qq.com) @if ($errors->has('mail_from_address')) {{ $errors->first('mail_from_address') }} @endif 邮件来源名称 (显示邮件名称部分,例如tipask) @if ($errors->has('mail_from_name')) {{ $errors->first('mail_from_name') }} @endif 邮件类型 (邮件发送方式) @foreach(config('tipask.mail_drivers') as $name => $text) get('mail_driver','smtp') == $name ) selected @endif >{{ $text }} @endforeach SMTP 服务器 (例如smtp.qq.com) @if ($errors->has('mail_host')) {{ $errors->first('mail_host') }} @endif SMTP 端口 (设置 SMTP 服务器的端口,默认为 25) @if ($errors->has('mail_port')) {{ $errors->first('mail_port') }} @endif 邮件安全加密方式 (请根据邮件实际情况进行配置) get('mail_encryption','null') == 'null') checked @endif > 无 get('mail_encryption') == 'ssl') checked @endif > SSL get('mail_encryption') == 'tls') checked @endif > TLS 邮箱地址 (例如tipask@qq.com) @if ($errors->has('mail_username')) {{ $errors->first('mail_username') }} @endif 邮箱密码 (根据实际情况填写你邮箱的密码或第三方客户端授权码) @if ($errors->has('mail_password')) {{ $errors->first('mail_password') }} @endif SendMail命令配置 (设置SendMail命令配置) @if ($errors->has('mail_sendmail')) {{ $errors->first('mail_sendmail') }} @endif @endsection @section('script')
{{ $errors->first('mail_from_address') }}
{{ $errors->first('mail_from_name') }}
{{ $errors->first('mail_host') }}
{{ $errors->first('mail_port') }}
{{ $errors->first('mail_username') }}
{{ $errors->first('mail_password') }}
{{ $errors->first('mail_sendmail') }}