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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -