test mail

This commit is contained in:
omair saleh
2021-06-19 11:10:45 +08:00
parent 6869d84a96
commit 4d20562864
2 changed files with 20 additions and 2 deletions
@@ -0,0 +1,11 @@
@extends('emails.accounts.layout.base')
@section('content')
<h4 style="font-size: 1em;">Hello,</h4>
<p style="font-size: 0.9em">verify your email to finish your account registration on</p>
<p style="margin-top: 30px; font-size: 0.8em">Please confirm that is your email address by clicking on the button below or use this link within 48 hours</p>
<div style="margin-top: 20px;">
<button class="btn all-caps bg-primary no-border text-white pointer" style="font-size: 0.8em" >Verify</button>
</div>
<div class="all-caps hint-text" style="margin-top: 20px;"><small style="font-size: 0.7em">If you didn't perform this request you can safely ignore this email.</small></div>
@endsection
+9 -2
View File
@@ -1,6 +1,7 @@
<?php
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\Route;
/*
@@ -60,6 +61,12 @@ Route::get('/transfer/merge/{marking}', function ($marking) {
return view('pages.booking_merge', ['marking' => $marking]);
})->name('booking.merge');
Route::get('/clock', function () {
dd(Carbon::now());
Route::get('/mail', function () {
Mail::send('emails.echo', [], function($message)
{
$message->to('uldvstar@example.com', 'Omair Saleh')->subject('Welcome!');
});
return 'working';
});