for anyone interested, I found the solution to my problem.
 
after i got the list of messages, it looks like this:
 
1   1400
2    5670
3   1200
4   1880
 
i was telling it to retrieve "5670" instead of "2".
 
wasnt sure which number it wanted but it seems to be happy now (:
 
----- Original Message -----
From: Alan Wolfe
Sent: Wednesday, April 14, 2004 1:54 PM
Subject: Witango-Talk: <@email> what am i doing wrong?

following the docs ive gotten some code to be able to connect to a mail serevr and check for new messages.
 
i got it working where it can say "4 new messages", but when i start trying to retrieve the message data, im hitting an error and cant figure out what the problem is.
 
I've attached the code and it's pretty simple, when it hits the retrieve command in the <@rows> it gives the error at the bottom of the message.
 
Anyone have any idea what I'm doing wrong?  The docs are a bit sparse...
 
Thank you for any help!
 

Error

An error occurred while processing your request:

File: mainmenu.taf
Position: sel_server_info_for_list
Class: Internal
Main Error Number: -2110

Failed to retrieve message (1471) with the specified session (POP3 Session: 41840FD0E1729FCB407D7A6C).

Meta Stack Trace:

Line Meta Tag
0001 <@emailsession retrieve name=local$loopemailvar messageid="<@var local$maillist[<@currow>,2]>" sessionid="POP3 Session: 41840FD0E1729FCB407D7A6C">
0016 <@rows array=local$maillist> <@emailsession retrieve name=local$loopemailvar messageid="<@var local$maillist[<@currow>,2]>" sessionid="POP3 Session: <@userreference>"> <@comment> <@email structure name=local$loopemailvar sessionid="POP3 Session: <@userreference>" type="Array"> <@email getentitybody partid=1 name=local$loopemailvar> <@email getfield name=local$loopemailvar fieldname="subject"> </@comment> </@rows>
*The meta stack is interpreted top-to-bottom: the top line shows the inner metatag that caused the error.
 
 


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to