Attachment .getName()

Hi all,

I’m using the mail plugin.
I’m in this scenario: I’ve received an email with an image as attachment,I’ve received it well; Because email’s address is changed I have submitted this mail to another address but when I invoke

_attachment.getName()
``` I obtain this :```
"=?utf-8?Q?Bimbi_045.jpg?="

offcourse the correct name is :“Bimbi_045.jpg”.

I’m talking about smart client(at now I’m tring into the developer).

Anyone know something about this error?

Thanks in advance

Marco

That’s not an error, it simply means that the name property in that message part has been encoded in UTF-8. That is not exactly standard, but done by quite a few mail clients to make sure the recipient sees even the weirdest file names correctly. I think you have to decode that yourself. Our MailPro plugin would do that for you… :-)

Thanks for your time Patrick!

By your information I’ve solved ^^

Marco