Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[javamail-dev] Attached PDF issues

I have 2 different servers, one running javamail 1.5.2 and one running 1.6.2. The same application is running on both. When an email is sent from the 1.5.2 server with a PDF attached the receiving email address receives the email with the PDF properly named and attached. When an email is sent from the 1.6.2 server the email contains a .dat file attached instead of the .pdf attached. The SMTP server for both applications is the same and the receiving email server is Microsoft Outlook (it was verified that the following --> https://www.lifewire.com/prevent-sending-winmail-dat-attachments-1173717does not apply). pcapng traces were done with each version with the following results seeming interesting. Note that the 1.6.2 version split the PDF file name up. Looking for some additional direction to help determine what the issue might be.

1.5.2:
Content-Type: application/octet-stream;
name="C:\\CIS\\Invoices\\Automated
 Invoices-FY19\\2019_07\\Invoices_0719-123.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="C:\\CIS\\Invoices\\Automated
 Invoices-FY19\\2019_07\\Invoices_0719-123.pdf"


1.6.2:
Content-Type: application/octet-stream;
name*0="C:\\CIS\\Invoices\\Automated
 Invoices-FY19\\2019_07\\Invoices_071"; name*1=9-116.pdf
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename*0="C:\\CIS\\Invoices\\Automated
 Invoices-FY19\\2019_07\\Invoices_071";
filename*1=9-116.pdf

Thanks!

Mike



Back to the top