No Body-Text with Attachment #2722
Unanswered
saturnus69
asked this question in
Q&A
Replies: 1 comment 12 replies
-
Can you share your code and an example of a received message? Is |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use PHP 8.1.7 and PHPMailer 6.6.3.
As soon as I send an email with an attachment I get the email without body text and the attachment (PDF) cannot be opened. The path is correct, the PDF too.
$mail->addAttachment('../stuff/uploads/pdf/1408_dossier.pdf','1408_dossier.pdf');
Without attachment I receive the e-mail correctly.
These problems do not occur when I use PHPMailer 6.1.8.
Does anyone know where the problem is?
Beta Was this translation helpful? Give feedback.
All reactions