diff --git a/app/TeenQuotes/Newsletters/Console/UnsubscribeUsersCommand.php b/app/TeenQuotes/Newsletters/Console/UnsubscribeUsersCommand.php index 7f952999..3577305e 100644 --- a/app/TeenQuotes/Newsletters/Console/UnsubscribeUsersCommand.php +++ b/app/TeenQuotes/Newsletters/Console/UnsubscribeUsersCommand.php @@ -94,7 +94,6 @@ public function fire() $this->newslettersManager->deleteForUsers($allUsers); // Send an email to each user to notice them - new MailSwitcher('smtp'); $nonActiveUsers->each(function($user) { // Log this info diff --git a/ressources/views/emails/default.blade.php b/ressources/views/emails/default.blade.php index bb58eb80..e557dede 100644 --- a/ressources/views/emails/default.blade.php +++ b/ressources/views/emails/default.blade.php @@ -1,3 +1,3 @@ -@include('layouts.email.header') +@include('emails.layout.html.header') @yield('content') -@include('layouts.email.footer') \ No newline at end of file +@include('emails.layout.html.footer') \ No newline at end of file diff --git a/ressources/views/layouts/email/footer.blade.php b/ressources/views/emails/layout/html/footer.blade.php similarity index 100% rename from ressources/views/layouts/email/footer.blade.php rename to ressources/views/emails/layout/html/footer.blade.php diff --git a/ressources/views/layouts/email/header.blade.php b/ressources/views/emails/layout/html/header.blade.php similarity index 88% rename from ressources/views/layouts/email/header.blade.php rename to ressources/views/emails/layout/html/header.blade.php index d85428e1..ddbac4f0 100644 --- a/ressources/views/layouts/email/header.blade.php +++ b/ressources/views/emails/layout/html/header.blade.php @@ -2,7 +2,7 @@ - @include('layouts.email.style') + @include('emails.layout.html.style')
diff --git a/ressources/views/layouts/email/style.blade.php b/ressources/views/emails/layout/html/style.blade.php similarity index 100% rename from ressources/views/layouts/email/style.blade.php rename to ressources/views/emails/layout/html/style.blade.php diff --git a/ressources/views/emails/layout/text/footer.blade.php b/ressources/views/emails/layout/text/footer.blade.php new file mode 100644 index 00000000..e69de29b diff --git a/ressources/views/emails/layout/text/header.blade.php b/ressources/views/emails/layout/text/header.blade.php new file mode 100644 index 00000000..e69de29b diff --git a/ressources/views/emails/text.blade.php b/ressources/views/emails/text.blade.php new file mode 100644 index 00000000..465e1f77 --- /dev/null +++ b/ressources/views/emails/text.blade.php @@ -0,0 +1,3 @@ +@include('emails.layout.text.header') + @yield('content') +@include('emails.layout.text.footer') \ No newline at end of file