ditte
  • ditte
  • 61.25% (Friendly)
  • Member Topic Starter
14 years ago
Hi,

I´m using AOSMTP and ANPOP last years. Now I have make the change to EAGetMail and EASendMail.
I´ve not found the GetTotalOfMails anymore. How can I find out, how much mails are in the postfolder?

Regards Dittmar
ivan
  • ivan
  • 100% (Exalted)
  • Administration
14 years ago
Hi,

in EAGetMail, there is no GetTotalOfMails method. Please see the following code.


    oClient.Connect oServer
    MsgBox "Connected"
    
    Dim infos
    infos = oClient.GetMailInfos()
    MsgBox UBound(infos) + 1 & " emails"  ' emails counts


I also suggest that you have a look at this tutorial: retrieve email and parse email in vb6 
ditte
  • ditte
  • 61.25% (Friendly)
  • Member Topic Starter
14 years ago
Hi,

it was helpfull. I read the tutorial.

Normaly I test the samples in VB6, but I can´t start it at time. It will need a ieframe.dll. At my station is the ieframe.dll in the ..\system32 folder but it isn´t that it like??

ivan
  • ivan
  • 100% (Exalted)
  • Administration
14 years ago

What is your operating system? This sample can be run on XP or later version very well.
the iframe.dll is a part of internet control(web browser),
In the sample, this control is used to display the html email.
I suggest that you upgrade your IE to 6.0 or later
ditte
  • ditte
  • 61.25% (Friendly)
  • Member Topic Starter
14 years ago
Hi,

System is XP SP3
IExplorer 8.0.6001.18702
ieframe 8.0.6001.19019 (in C:\windows\system32)

Error at opening (File not found:`C:\WINDOWS\system32\ieframe.dll\1`loading continue?)

Maybe a problem of many users. I´m searching in the web for a solution
ditte
  • ditte
  • 61.25% (Friendly)
  • Member Topic Starter
14 years ago
Hi,

there are e registry entry like ieframe.dll\1

i´ve cleared it and now it works.
Thanks

EXPLORE TUTORIALS

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