email attachment

i use this script for save report pdf in local pc:
sc_pdf_output(‘fattura-’.{numero_fattura}.’.pdf’,“D”);

but help me to change code for send email with attachment:
echo ‘<a href="mailto:’ . {email} . ‘?subject=’ . {description} . ‘">Ho generato i dati per inviare email,clicca qui</a>’;

Buy and sell E-currency like Perfect Money, Skrill, Bitcoin, Ego-pay, Ok-pay, STP, Web-money on very compatible exchange rates. To get advantages from our services, follow the key-words.

[QUOTE=andreaparisi;35233]i use this script for save report pdf in local pc:
sc_pdf_output(‘fattura-’.{numero_fattura}.’.pdf’,“D”);

but help me to change code for send email with attachment:
echo ‘<a href="mailto:’ . {email} . ‘?subject=’ . {description} . ‘">Ho generato i dati per inviare email,clicca qui</a>’;[/QUOTE]

AFAIK you can’t add an attachment with malto:. This is executed client side, not server side. You must implement the sending of the email from server if yoiu want this. There are sample for send mail macros in the sidebar of every php code , and in this forums