• Hi,

    the emails our wordpress/woocommerce site sends out that contain a PDF file (e.g. invoices) have the wrong mime-type set.

    The attachments are sent as application/octet-stream instead of application/pdf

    We’ve investigated everything we could think of.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @edwinoonk,

    Thanks for using the plugin,

    I hope you are doing well, Can you share the diagnostic log?

    Thanks & Regards

    WP Experts Support Team

    Thread Starter edwinoonk



    which diagnostic log? Woocommerce or Post SMTP?

    Can I just upload it here?

    Hi @edwinoonk,

    Post-SMTP Diagnostic Log.

    Thank you

    Thread Starter edwinoonk


    Mailer: postsmtp
    HostName: *****
    cURL Version: 7.68.0
    OpenSSL Version: OpenSSL/1.1.1f
    OS: Linux ***** 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64
    PHP: Linux 8.0.24 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
    WordPress: 6.0.3 nl_NL UTF-8
    WordPress Theme: Hello Elementor
    WordPress Plugins: WPML Multilingual CMS, WooCommerce Blacklister, ATUM Multi-Inventory, ATUM Inventory Management for WooCommerce, BTCPay for WooCommerce (Legacy), CAOS GA4 & UA Paralel, CAOS Pro, Code Snippets, Complianz Privacy Suite (GDPR/CCPA) premium, Disable Bloat for WordPress & WooCommerce, GTM4WP, Elegant Tabs for WooCommerce, Elementor Pro, Elementor, Facebook for WooCommerce, CAOS, OMGF, JetElements For Elementor, JetEngine, JetSmartFilters, JetTabs For Elementor, JetWooBuilder – Custom Product Badges, JetWooBuilder For Elementor, Jetpack, Kadence WooCommerce Email Designer, Loco Translate, MWB HubSpot for WooCommerce, Mollie Payments for WooCommerce, Post SMTP, Product Bundles – Bulk Discounts, Qty Increment Buttons for WooCommerce, Redirection, Unbloater, UpdraftPlus – Backup/Restore, User Role Editor, Aelia Foundation Classes for WooCommerce, WooCommerce NL Postcode Checker, WooCommerce Tree Table Rate Shipping, Estimated Delivery Date Plugin For WooCommerce, WooCommerce Search Engine, Variation Swatches for WooCommerce, WooCommerce Advanced Extra Fees Premium (Premium), WooCommerce Buy One Get One Free, WooCommerce Composite Products, WooCommerce Conditional Shipping and Payments, WooCommerce Cost of Goods, WooCommerce Distance Rate Shipping, WooCommerce EU VAT Number, WooCommerce Filter Orders by Product, Follow-Up Emails, WooCommerce Multilingual & Multicurrency, MyParcel, PDF Invoices & Packing Slips for WooCommerce, WooCommerce PDF Invoices & Packing Slips Professional, WooCommerce Automatic Printing – PrintNode, WooCommerce Product Bundles, WooCommerce Google Product Feed, WooCommerce Shipment Tracking, WooCommerce Smart Coupons, WooCommerce Social Login, WooCommerce Wholesale Prices Premium, WooCommerce Wholesale Prices, WooCommerce, Yoast SEO Premium, Asset CleanUp Pro: Page Speed Booster, WP Crontrol, WP Review Slider Pro (Premium), WP Rocket, Widget Disable, WPML Media, WPML String Translation, Yoast SEO: WooCommerce
    WordPress wp_mail Owner: /var/www/vhosts/*****.nl/httpdocs/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
    WordPress wp_mail Filter(s): WPO\WC\PDF_Invoices\Main->set_phpmailer_validator, PostsmtpMailer->get_mail_args, WPO\WC\PDF_Invoices_Pro\Emails->phpmailer_allow_empty
    WordPress phpmailer_init Action(s): FUE_Sending_Mailer::set_dkim, WC_Email_New_Order->handle_multipart, WC_Email_Cancelled_Order->handle_multipart, WC_Email_Failed_Order->handle_multipart, WC_Email_Customer_On_Hold_Order->handle_multipart, WC_Email_Customer_Processing_Order->handle_multipart, WC_Email_Customer_Completed_Order->handle_multipart, WC_Email_Customer_Refunded_Order->handle_multipart, WC_Email_Customer_Invoice->handle_multipart, WC_Email_Customer_Note->handle_multipart, WC_Email_Customer_Reset_Password->handle_multipart, WC_Email_Customer_New_Account->handle_multipart, WC_SC_Email_Coupon->handle_multipart, WC_SC_Combined_Email_Coupon->handle_multipart, WC_SC_Acknowledgement_Email->handle_multipart, WC_Email_Customer_Credit_Note->handle_multipart, WC_Email_PDF_Order_Notification->handle_multipart, PostsmtpMailer->phpmailer_smtp_init
    Postman: 2.1.10
    Postman Sender Domain (Envelope|Message): *****
    Postman Prevent Message Sender Override (Email|Name): No | No
    Postman Active Transport: SMTP (smtps:login:*****)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 314411 | 866

    Plugin Support Muhammad Haseeb



    We are looking into it and will provide a solution if an issue exists.


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mimetype wrong for PDF attachements’ is closed to new replies.