I\'m trying to attach a PDF file which after creating a data, it will generate a PDF file and directly attach in Mailable.
In Controller
public functio