📜  phpmailer addAttachment - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:55.235000             🧑  作者: Mango

代码示例2
//Put this line anywhere after $mail = new PHPMailer(); but before $mail->Send()
//Ensure that you use the full file path to the document
$mail->AddAttachment('/var/www/html/include/test.pdf');