Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: How do you check for new emails?

From: greggirwin:mindspring at: 3-Oct-2002 14:11

Hi Matt, << Is there a flag in each email that lets you see if it's been "read"? I want to the code to frequenty log in, check for "new emails" that have arrived since I've last checked, and if so, send out an email to my phone with only the "from" and "subject". I already know how to do the latter. >> If your code is doing the checking, then it just needs to know the last time it checked to see if anything new has arrived (based on the most recent timestamp of the incoming messages). Not being a mail expert, I can't tell you how reliable this mechanism will be, but it might work well. You could also maintain a limited FIFO list of message IDs and filter out messages based on that. I.e. if a new message has an ID that's in the list, you've seen it already. --Gregg