This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I'm currently testing how to implement mail and queue in Octobercms. I have built a simple component with a single button that sends an email. The email config and templates are already set.(I used mailtrap). When using Mail::send everything works as expected but when I use Mail::queue I get this error when running queue:listen. I've already replaced sync with redis in the queue config.
Whoops\Exception\ErrorException : Illuminate\Mail\SendQueuedMailable::handle(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "October\Rain\Mail\Mailable" of the object you are trying to operate on was loaded before unserialize() gets called or provide a __autoload() function to load the class definition
I using Laragon with redis running. I might missed something on the config I guess.
1-2 of 2