I have a script to read the content and attachment of the mail.
Dim RTITEM As NOTESrICHtEXTiTEM
...
Set doc=coll.GetNthDocument(a)
Set rtitem = doc.GetFirstItem("Body")
mailfrom = doc.GetItemValue("From")(0)
..
It is fine for most of the mails.
But when I use it to read the following mail, it shows a error "type
mismatch"
Mail content:
[MIME content for this item is stored in attachment $RFC822.eml.
Parsing MIME content failed: Incorrect format in MIME data..]
And there is a attachment $RFC822.eml
I tested it and this error returned from the statement
doc.GetFirstItem("Body")
Is it something wrong with the code ?
ASKED:
Oct 12 2007 6:33 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _