I want to email a PDF as an attachment that was created using FPDF. My code looks like this, but the attachment never comes through.
if you use PHPMailer
$attachment= $pdf->Output('attachment.pdf', 'S'); $mailer->AddStringAttachment($attachment, 'attachment.pdf');
Enjoy