JohnRivs's avatar

Call to a member function push() on a non-object (Having problems with Mail::queue in Lumen)

I'm trying to use Mail::queue, but apparently, the queue instance the Mailer should have is not being built.

Am I missing something?

0 likes
4 replies
bestmomo's avatar

Add the mailer in composer :

"require": {
    "laravel/lumen-framework": "5.0.*",
    "vlucas/phpdotenv": "~1.0",
    "illuminate/mail": "5.0.*"
},
SwaroopH's avatar

Ditto. @JohnRivs did you also add SuperClosure as dep because it was throwing that as an error before I got to this.

Please or to participate in this conversation.