We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f35494 commit a55fbeaCopy full SHA for a55fbea
packages/Webkul/Admin/src/Http/Controllers/Mail/EmailController.php
@@ -167,7 +167,7 @@ public function store()
167
Mail::send(new Email($email));
168
169
$this->emailRepository->update([
170
- 'folders' => ['inbox', 'sent']
+ 'folders' => ['sent']
171
], $email->id);
172
} catch (\Exception $e) {}
173
}
@@ -182,7 +182,7 @@ public function store()
182
183
session()->flash('success', trans('admin::app.mail.create-success'));
184
185
- return redirect()->route('admin.mail.index', ['route' => 'inbox']);
+ return redirect()->route('admin.mail.index', ['route' => 'sent']);
186
187
188
/**
0 commit comments