/trunk/client/annuaire/admin_annu.php |
---|
127,7 → 127,7 |
$mime->setTXTBody($text); |
// On attache le document PDF grace à $buf, et en indiquant son type MIME |
$mime->addAttachment($buf, 'application/pdf', $file, false) ; |
$mime->addAttachment($buf, 'application/pdf', $file, false, 'base64') ; |
$body = $mime->get(); |
$hdrs = $mime->headers($hdrs); |