Are you only sending the file path for the attachment as data to the queue, or the file data? And did you store it somewhere, not just a tmp file?
barryvdh said:
Are you only sending the file path for the attachment as data to the queue, or the file data? And did you store it somewhere, not just a tmp file?
Hi,
The file gets saved into the public folder and I pass the URL of the file with the queue.
I too had this problem especially when I was trying to attach directly from File::get(). If I remember correctly, I got it work by storing the file on a tmp directory and link it using the file path when doing on queue. ( I am using Iron queue tho )
Maybe try using the file path instead of URL one instead?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.