php - There is any way to show pdf in a received email like embedded pdf? -


In an embedded way, I'm trying to show some PDFs like email, because the user has to click to open PDF is not required! I want the PDF to be open already, when users open email. I am trying to do this for a newsletter in PDF format.

Do you know how this can be done? Which plug-in technology?

Thanks,

My code is below to send emails, but

  $ date = date ('d / m / yh: i' ); $ msg = "Our newsletter is: (Here I want to show the PDF) 
Best Relationship
Send: $ date"; = $ 'For test@hotmail.com'; $ Theme = 'newsletter'; $ Headers = "to: $ for \ n"; $ Headers = "Content-type: text / html; charset = \" utf-8 \ "\ n \ n"; Mail ($ email, $ theme, $ message, $ header);

If you send an email with a PDF attachment that receives the email client How does the display (such as Apple Mail) show, it will display it.

You can use the example code to do this.

Apart from this, I can say that do not do it - either format your newsletter as HTML, or provide a beautiful link for PDF online.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -