Integrate Mail, Nexmo and Slack notifications into Cachet
This commit is contained in:
@@ -15,6 +15,7 @@ use CachetHQ\Cachet\Bus\Commands\System\Config\UpdateConfigCommand;
|
||||
use CachetHQ\Cachet\Bus\Commands\System\Mail\TestMailCommand;
|
||||
use CachetHQ\Cachet\Integrations\Contracts\Credits;
|
||||
use CachetHQ\Cachet\Models\User;
|
||||
use CachetHQ\Cachet\Notifications\System\SystemTestNotification;
|
||||
use CachetHQ\Cachet\Settings\Repository;
|
||||
use Exception;
|
||||
use GrahamCampbell\Binput\Facades\Binput;
|
||||
@@ -294,7 +295,7 @@ class SettingsController extends Controller
|
||||
*/
|
||||
public function testMail()
|
||||
{
|
||||
dispatch(new TestMailCommand(Auth::user()));
|
||||
Auth::user()->notify(new SystemTestNotification());
|
||||
|
||||
return cachet_redirect('dashboard.settings.mail')
|
||||
->withSuccess(trans('dashboard.notifications.awesome'));
|
||||
|
||||
Reference in New Issue
Block a user