html - Send Form with email attached in PHP -
i have html form.i want send clients.
what best ways send client via email client can download form
i tried cread pdf , send pdf document can not create proper pdf html.
so there other way out pdf?
$pdf->writehtml($html, true, false, true, false, ''); $pdf->lastpage(); $sr = $filename . '.pdf'; $pdf->output('tmp_email/'.$sr, 'f');
note:my email function working good...
my question type of document should created without pdf? can send html attached?how?
swiftmailer option creating html emails: http://swiftmailer.org/
when generating pdfs html, might want take @ dompdf: https://github.com/dompdf/dompdf
it supports images, external stylesheets , loads of other things: http://pxd.me/dompdf/www/examples.php
Comments
Post a Comment