Hello everybody,
I've got some trouble with a few attachments. Pegasus recognizes the name as '-' and the extension as unkown. Maybe there is an encoding error in the email client of the sender, here is the raw view of such an email:
Content-Type: application/pdf;
name*=iso-8859-1''Gro%DFm%2Epdf
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename*=iso-8859-1''Gro%DFm%2Epdf
This one works:
Content-Type: application/pdf;
name="=?iso-8859-1?Q?Stra=DFe.pdf?="
Content-Description: =?iso-8859-1?Q?Stra=DFe.pdf?=
Content-Disposition: attachment;
filename="=?iso-8859-1?Q?Stra=DFe.pdf?=";
size=340278; creation-date="Fri, 27 May 2011 10:19:12 GMT";
modification-date="Fri, 27 May 2011 10:19:12 GMT"
Content-Transfer-Encoding: base64
I don't know much about encoding standards, maybe the email client of the sender did something wrong. Anyway, it says: "Content-Type: application/pdf", why can't Pegasus set the ".pdf" extension? Since I have some people arround who can't analyze the raw email text: Is there any other way than guessing file extensions to get the correct file out of such emails?
Thanks in advance,
cheers, bb
<p>Hello everybody,</p><p>&nbsp;I've got some trouble with a few attachments. Pegasus recognizes the name as '-' and the extension as unkown. Maybe there is an encoding error in the email client of the sender, here is the raw view of such an email:&nbsp;
</p><p>Content-Type: application/pdf;
&nbsp; name*=iso-8859-1''Gro%DFm%2Epdf
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
&nbsp;&nbsp;&nbsp; filename*=iso-8859-1''Gro%DFm%2Epdf
</p><p>This one works:
</p><p>
Content-Type: application/pdf;
&nbsp;&nbsp;&nbsp; name="=?iso-8859-1?Q?Stra=DFe.pdf?="
Content-Description: =?iso-8859-1?Q?Stra=DFe.pdf?=
Content-Disposition: attachment;
&nbsp;&nbsp;&nbsp; filename="=?iso-8859-1?Q?Stra=DFe.pdf?=";
&nbsp;&nbsp;&nbsp; size=340278; creation-date="Fri, 27 May 2011 10:19:12 GMT";
&nbsp;&nbsp;&nbsp; modification-date="Fri, 27 May 2011 10:19:12 GMT"
Content-Transfer-Encoding: base64
&nbsp;</p><p>I don't know much about encoding standards, maybe the email client of the sender did something wrong. Anyway, it says: "Content-Type: application/pdf", why can't Pegasus set the ".pdf" extension? Since I have some people arround who can't analyze the raw email text: Is there any other way than guessing file extensions to get the correct file out of such emails?</p><p>Thanks in advance,</p><p>cheers, bb
</p>