Hi, I think this statement here is sending the pdf as an attachment "quoteattachmentdata" => $pdfdata, you could change it to null or "quoteattachmentdata" => null, or just remove. Overall this needs a little testing, to make sure that is the function that sends the mail and what is the correct approach. Hope I can be of help in solving your problem. Thanks