idani
  • idani
  • 50.75% (Neutral)
  • Newbie Topic Starter
7 years ago
Hello,

I'm trying to get an excel-list of Gmail-Mails:
I need to link Labels(=folder!) with some part of a mail-body, since the label consits of the name of the customer and the mails (body) contain the order-id.

With google's help I ran into this   tutorial and to emailarchitect, which seems like the perfect solution for me.

Everything works fine, but I need to have the label of the current e-mail as well. By now I can get the Subject, From, the Body, .... But not the label :(

I'm really glad about any link/help you can provide for me.

PS: see the linked tutorial to see the used code

Cheers from Austria,
Daniel
ivan
  • ivan
  • 100% (Exalted)
  • Administration
7 years ago
Hi, the VBA used POP protocol, it always retrieves the email in INBOX label/folder, if you want to access all folders, you should use IMAP4 protocol, please download eagetmail from:

https://www.emailarchitect.net/downloads.aspx?cat=1 

after you installed it on your machine, you can find Samples_VB6\imap_full.vb6, it demonstrates how to list all folders and emails.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.