Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Mozilla Thunderbird - Extracting Attachments from Emails

Posted on 2009-04-08
2
Medium Priority
?
570 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

WooCommerce is becoming the most powerful e-commerce plugin for Wordpress. And why not. The platform comprises of numerous core plugins that may come in handy, powerful options to make your website development task much easier.
If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

618 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