Title: Wrong Content-type pdf format
Last modified: March 23, 2021

---

# Wrong Content-type pdf format

 *  [maselemat](https://wordpress.org/support/users/maselemat/)
 * (@maselemat)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wrong-content-type-pdf-format/)
 * Hi, we have a problem with viewing the pdf documents emailed with Post SMTP Mailer/
   Email Log, in the management of tickets using the platform Liveagent.com.
 * When a new ticket arrives in the Liveagent dashboard from a customer, we can 
   normally preview a pdf without having to download them. This happens with all
   pdfs but NOT with those emailed as an attachment by your plugin. The Liveagent
   support says pdf normally have Content-Type = application/pdf; while those emailed
   with pPost SMTP appear as Content-Type: application/octet-stream.
 * Liveagent also says “The application which is sending the email is responsible
   for setting content-type header of the attachment, LiveAgent just reacts (displays“
   View” option or not) according to the value found in email.” [https://support.liveagent.com/715429-The-View-button-availability-for-attachments-in-tickets](https://support.liveagent.com/715429-The-View-button-availability-for-attachments-in-tickets)
 * To be precise we use Post SMTP with “Type = SMTP” and “Mailer Type = PostSMTP”.
   We don’t know why but “Mailer Type = PHPMailer” doesn’t work.
 * Any ideas to solve this issue?
    Thanks

Viewing 1 replies (of 1 total)

 *  [Tim](https://wordpress.org/support/users/tneville/)
 * (@tneville)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wrong-content-type-pdf-format/#post-14272207)
 * Hi [@maselemat](https://wordpress.org/support/users/maselemat/),
 * I will ask the developer [@yehudah](https://wordpress.org/support/users/yehudah/)
   for comment. He is very busy, so please be patient will waiting for a reply.
 * Kind Regards,
    Tim

Viewing 1 replies (of 1 total)

The topic ‘Wrong Content-type pdf format’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tim](https://wordpress.org/support/users/tneville/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/wrong-content-type-pdf-format/#post-14272207)
 * Status: not resolved