All checks were successful
Deploy Production (crewsportswear.com) / deploy (push) Successful in 1m51s
57 lines
2.6 KiB
PHP
57 lines
2.6 KiB
PHP
@extends('layout.main')
|
|
|
|
@section('content')
|
|
<div class="row">
|
|
<div class="col-md-6 col-md-offset-3" style="margin-top: 40px; margin-bottom: 40px;">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title"><strong>Send Test Email</strong></h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
|
|
@if (session('message'))
|
|
<div class="alert alert-{{ session('status') }} alert-dismissible" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
{{ session('message') }}
|
|
</div>
|
|
@endif
|
|
|
|
<!-- Mail Config Info -->
|
|
<div class="well well-sm" style="font-size: 12px;">
|
|
<strong>Current Mail Config</strong><br>
|
|
Driver: <code>{{ config('mail.driver') ?: '(not set)' }}</code><br>
|
|
Host: <code>{{ config('mail.host') ?: '(not set)' }}</code><br>
|
|
Port: <code>{{ config('mail.port') ?: '(not set)' }}</code><br>
|
|
Username: <code>{{ config('mail.username') ?: '(not set)' }}</code><br>
|
|
Encryption: <code>{{ config('mail.encryption') ?: '(not set)' }}</code>
|
|
</div>
|
|
|
|
<form method="POST" action="{{ url('test-email/send') }}">
|
|
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
|
<input type="hidden" name="token" value="{{ $token }}">
|
|
<div class="form-group{{ $errors->has('recipient') ? ' has-error' : '' }}">
|
|
<label for="recipient">Recipient Email</label>
|
|
<input type="email"
|
|
name="recipient"
|
|
id="recipient"
|
|
class="form-control"
|
|
placeholder="you@example.com"
|
|
value="{{ old('recipient') }}"
|
|
required>
|
|
@if ($errors->has('recipient'))
|
|
<span class="help-block">{{ $errors->first('recipient') }}</span>
|
|
@endif
|
|
</div>
|
|
<button type="submit" class="btn btn-primary btn-block">
|
|
<i class="fa fa-envelope"></i> Send Test Email
|
|
</button>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|