Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
BB77  
#1 Posted : Tuesday, May 18, 2021 6:26:29 AM(UTC)
BB77

Rank: Newbie

Groups: Registered
Joined: 5/17/2021(UTC)
Posts: 2
Poland
Location: Warszawa

Everything works until the loop enters the last email.
Then a message appears "NativeErrorCode: 87 GetMail [oInfo]"
The error is generated by: Set oMail = oClient.GetMail(Info)

For i = 1 To iNumMessages
Dim Info As EAGetMailObjLib.MailInfo
Set Info = infos.Item(i)

Dim oMail As EAGetMailObjLib.mail
Set oMail = oClient.GetMail(Info)

Dim oHeaders
Set oHeaders = oMail.Headers
For J = 0 To oHeaders.Count - 1
Dim EmailID As String
Dim oHeader
Set oHeader = oHeaders.Item(J)
MsgBox oHeader.HeaderKey & ":" & oHeader.HeaderValue & Chr(13) & Chr(10)
Next i

what could be the problem?
BB77  
#2 Posted : Tuesday, May 18, 2021 10:18:55 PM(UTC)
BB77

Rank: Newbie

Groups: Registered
Joined: 5/17/2021(UTC)
Posts: 2
Poland
Location: Warszawa

For i = 0 To iNumMessages -1
this should be the case
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.044 seconds.

EXPLORE TUTORIALS

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