Search The ForumSearch   RegisterRegister  LoginLogin

MailBee IMAP4

 AfterLogic Forum : MailBee IMAP4
Subject Topic: Attachments Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Carlo
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 09 March 2006 at 4:43pm | IP Logged Quote Carlo

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 View Carlo's Profile Search for other posts by Carlo
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 10 March 2006 at 11:07am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide