Author |
|
Carlo Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 09 March 2006 at 4:43pm | IP Logged
|
|
|
I just downloaded the demo, and I am testing the IMAP4 Demo 2. The list_msgs.asp page is showing No under Attachments, but when clicking on the message (going to view_msg.asp), there is an attachment linked. The attachment link works, and downloads the file, but why does the first page show no attachments?
I tried oEnvelopes(I).MessagePreview.Attachments.Count, and I get 0. oEnvelopes(I).MessagePreview.Attachments(1).Filename, and the page errors.
This is connecting to a 3Com NBX phone system, so the email does not have much if any in the body, and it's just an attachment to the .wav voice mail file.
Why does it show 0 attachments?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 10 March 2006 at 11:07am | IP Logged
|
|
|
Some messages may have incorrect Content-Type header setting. In such cases,
HasAttachments property won’t surely tell you if the message has attachment or not.
The only 100%-reliable way to determine whether attachments are present or not is to receive the message completely (using RetrieveSingleMessage or RetrieveMessages method instead of MessagePreview).
Perhaps, 3Com NBX phone system does not generate correct Content-Type header. To investigate the problem in more detail, could you please send us typical email message from NBX phone system.
To do this in MS Outlook Express, click at File->Save As, save message as .eml file, attach it to your reply, and sent it to support@afterlogic.com.
Thanks in advance.
Regards,
Alex
|
Back to Top |
|
|