PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

Chatter doesn't send emails?

nikolay-dimitrov

Sep 28th, 2017 12:49 PM

Hello! I'm just wondering, why i can't receive email when someone post on the forum? I do not have SMTP server but i'm using mailgun, and it's working with password reset

mark

Sep 28th, 2017 01:22 PM

Chatter tries to queue the emails, so what is your configuration for the queue?

Also, can you try triggering a email using this code:

$user = \App\User::where('email', 'YOUR-EMAIL')->firstOrFail();
$discussion = \DevDojo\Chatter\Models\Discussion::firstOrFail();
\Illuminate\Support\Facades\Mail::to($user)->queue(new \DevDojo\Chatter\Mail\ChatterDiscussionUpdated($discussion));

Then see if that triggers it.

nikolay-dimitrov

Sep 29th, 2017 04:18 AM

Where should i put that? in sendEmailNotifications() or store() ? And Could it be, because the mail VIEW isn't copied into /resoruces/views/vendor/chatter/ ?