PHPmailer : Probably the world's most popular code for sending email from PHP!
$mail->AddAttachment('path_for_pdf', $name = 'Name_of_pdf', $encoding = 'base64', $type = 'application/pdf');
No comments:
Post a Comment