Announcement

Collapse
No announcement yet.

email attachment

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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>';

  • #2
    Originally posted by andreaparisi View Post
    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>';
    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
    /Giuseppe

    Professional Scriptcase Services
    Some Customers opinions

    Comment

    Working...
    X