login about faq

const char * origfilename; CString newfilename; origfilename = imap.getMailAttachFilename(*email,j); MessageBox(origfilename);

While playing around with imap, to check if i can use your fantastic lib in my new project, i found out that the original attachmentname might get split! Therefore MoveFile etc. would fail!

Test: attach a file with a very long name such as "Wir xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx His zum Dupk von Stklärungen-201101.docx"

The filename shown in the MessageBox will be split with a blanc -> "xxxxxxx xxxxx".

asked Sep 12 '12 at 08:06

RootTag's gravatar image


Make sure you are using the latest version of Chilkat. This sounds like an older problem that has already been fixed.


answered Sep 12 '12 at 08:08

chilkat's gravatar image

chilkat ♦♦

I am testing with 9.3.2 (x86) with Visual Studio 2008


answered Sep 12 '12 at 08:10

RootTag's gravatar image


Does that mean you were already testing with v9.3.2 and the problem exists with that version, or that you are just now beginning to test with it?

(Sep 12 '12 at 08:56) chilkat ♦♦

Problem does currently exist in v9.3.2 (win32)

(Sep 12 '12 at 09:00) RootTag

Thanks! I reproduced the problem and am working on a fix.

(Sep 12 '12 at 10:03) chilkat ♦♦

This new 32-bit VC9 build fixes the problem:


answered Sep 12 '12 at 12:30

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Sep 12 '12 at 08:06

Seen: 11,145 times

Last updated: Sep 12 '12 at 12:30

powered by OSQA