WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Postie

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

v10025 of Postie Automatically Decodes Headers with "=?charset?q?text?= content"

Keywords: 		 automatically decode headers with "=?charset?q?text?= content".

Question:

I have a problem with WinBatch 2001n and Postie Extender V10024 on Windows NT 4.0.

When i receive a mail with attachments using:

kInit ( ... )
kGetMail ( 1, Filename, "", "", "" )
it works fine and saves the attachments, except those times the mail has an attachment like the following:
------_=_NextPart_000_01C18794.B7B7A520
Content-Type: application/msword;
name="=?iso-8859-1?Q?T=E4tigkeitsnachweis=2Edoc?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="=?iso-8859-1?Q?T=E4tigkeitsnachweis=2Edoc?="
 
Postie puts this string behind the text of the mail:
Attachment: =?iso-8859-1?Q?T=E4tigkeitsnachweis=2Edoc?= (39936 bytes)
So i think Postie don't decode the filename and fails saving it, that's right?

Answer:

v10025 of Postie added a "g" option to the kGetMail flags to automatically decode headers with "=?charset?q?text?= content".
Article ID:   W15071
File Created: 2017:07:28:12:58:37
Last Updated: 2009:08:06:12:41:57