How to use mail queue for send an email with pdf attachment?

Published 11 months ago by Crazylife

I tried


but it just like


It takes very long time to send the email out to user, can i use queue to prevent this issue?Or is there any method i can used to prevent execution time exceeded when sending mail with pdf attachment? Thanks.


@dreamxyz do you follow this documentation?


they are different things. not sure about your laravel version. check the doc below. what you need to do is attach pdf in the mail, its irrelevant with queue


@christianyeah When i convert a view into pdf it takes about 360 seconds of loading, which is not good.


@lancecoder Yes, i tried but seem like not working for me. If got sample then is good, not sure whether i am doing it in wrong way or what.

Please sign in or create an account to participate in this conversation.