Answers for "php mailer addattachment"

PHP
0

phpmailer addAttachment

//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');
Posted by: Guest on September-09-2021

Browse Popular Code Answers by Language