Technote (troubleshooting)
Problem
Problems with attachment names not appearing in emails.
Symptom
Attachment name is removed from email.
Cause
If they use US-ASCII character set for attachment names the problem does not happen.
Environment
LPME 2.0.1.1 on Cent OS
Diagnosing the problem
We looked at the MIME stream and noticed when we do not use US-ASCII character set for attachment names there is a carriage return in the filename section.
Before:
--_=_MSTRSMTP6269DED74FD91FC3D13AA3B01A9B4BA1
Content-Type: application/pdf
Content-Disposition: Attachment;
Filename=
=?utf-8?Q?Weekly=20NM%=20Total=20Merch=20by=20Store=2Epdf?=
Content-Transfer-Encoding: base64
After:
--_=_MSTRSMTP41E07ECF4CBE930FC59B1C80F39B1FA7
Content-Type: application/pdf
Content-Disposition: Attachment;
Filename="Weekly NM% Total Merch by Store.pdf"
Content-Transfer-Encoding: base64
Resolving the problem
Just use US-ASCII character set for attachment names.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.