Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting the file name of an Outlook Express attachment
#1
I am using Outlook Express to process my e-mails. I store in strings e-mail attachment filenames using
Quote:str sfiln=elmatt.Filename

In most cases it works perfectly. Nevertheless there exist some cases, when the attachment name contains native language characters, that I envisage minor problems. For example, string sfiln above gets :

"ΚΑΤΑΛΟΓΟΣ ΕΡΓΑΣΙΩΝ-ΥΠΟΘΕΣΕΩΝ_Β=?UTF-8?B?zpPOn86dzqTOls6"

In such cases I use
Quote:decrypt(4)

to decrypt the corresponding part of the string.

I wonder whether exists another, more elegant way, to get the attachment string.

Many thanks in advance.


Forum Jump:


Users browsing this thread: 1 Guest(s)