Learn, Share, Build

39
October 12, 2017, at 5:15 PM

I am using queue function of laravel to send email. But I think it is not working because it slow down the page process when sending large emails and do data is being saved in jobs table. I am using following code:

Mail::to('test@gmail.com')->queue(new Test($mailContent,$subject)); 

Configuration in queue.php file is:

    'database' => [
        'driver' => 'database',
        'table' => 'jobs',
        'queue' => 'default',
        'retry_after' => 90,
    ],
READ ALSO
Learn, Share, Build

Learn, Share, Build

I am trying to hit my login details to server directly instead of hitting DBPlease help me how to do this

15
Learn, Share, Build

Learn, Share, Build

In my table have following structure

34
Learn, Share, Build

Learn, Share, Build

With an uploader service I manage to pass files into the right directory /var/www/html/test/tmp, but my images are not displayed properlyIn twig I call the image with:

47
Learn, Share, Build

Learn, Share, Build

I want to share my product with facebook and have thumbnails,but my code does not generate thumbnails,code:

37