?
Solved

Mozilla Thunderbird - Extracting Attachments from Emails

Posted on 2009-04-08
2
Medium Priority
?
563 Views
Last Modified: 2012-05-06
Microsoft MAPI Controls 6.0  Visual Basic 6  Mozilla Thunderbird 2.0.0.21

I am unable to extract email attachments using MAPI from the Thunderbird email client.  The email appears without attachments  ie AttachmentCount is zero.  The code works when the email client is Microsoft Outlook.  Even if I fudge the counter it still does not find the attachments.  Any ideas why it does not work ?  
Thanks in advance
Tony
txtFrom.Text = MAPIMail.MsgOrigAddress
            txtSubject.Text = MAPIMail.MsgSubject
            txtMessage.Text = MAPIMail.MsgNoteText
'
            lstAttachments.Clear
            ReDim strPathNames(MAPIMail.AttachmentCount)
            For ii = 0 To MAPIMail.AttachmentCount - 1
                If MAPIMail.AttachmentType = mapData Then
                    MAPIMail.AttachmentIndex = ii
                    strPathNames(ii) = MAPIMail.AttachmentPathName
                    strFileName = fncDecodeFileName(strPathNames(ii), 3)
                    lstAttachments.AddItem (strFileName)
                End If
            Next ii
 
MAPIMail  =>  MAPIMessages control instance

Open in new window

0
Comment
Question by:mcintyak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 30

Accepted Solution

by:
Marc Z earned 375 total points
ID: 24210616
I'm not sure what you are trying to do with MAPI, but I use this add-on for tb and it works just fine.  Maybe you'll see something you are overlooking.

https://addons.mozilla.org/en-US/thunderbird/addon/556
0
 

Author Closing Comment

by:mcintyak
ID: 31567905
Thanks, I can use this as a work around
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introducing Priority Question, our latest feature.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question