diff --git a/src/Mail/V1/Customer/SendCodeNotification.php b/src/Mail/V1/Customer/SendCodeNotification.php new file mode 100644 index 0000000..3acb1f8 --- /dev/null +++ b/src/Mail/V1/Customer/SendCodeNotification.php @@ -0,0 +1,37 @@ +from(core()->getSenderEmailDetails()['email'], core()->getSenderEmailDetails()['name']) + ->to($this->customer->email) + ->subject(trans('apis::app.emails.customers.sendcode.subject')) + ->view('Apis::emails.v1.customers.sendcode', [ + 'code' => $this->code, + ]); + } +} diff --git a/src/Resources/views/emails/v1/customers/sendcode.blade.php b/src/Resources/views/emails/v1/customers/sendcode.blade.php new file mode 100644 index 0000000..aa807c1 --- /dev/null +++ b/src/Resources/views/emails/v1/customers/sendcode.blade.php @@ -0,0 +1,9 @@ + + +
+Your login code is: {{ $code }}
+ + \ No newline at end of file