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

[REBOL] Series/import-email

From: jon_saltzman::pitzer::edu at: 9-Nov-2001 1:47

Hi all, having some trouble with this code snippet (and being a newbie): <snippet> displayFields: [["Jon" "message" "one"]] while [not tail? mailbox] [ msg: import-email first mailbox insert tail displayFields [[msg/from msg/subject msg/date]] mailbox: next mailbox ] </snippet> I've got a read mailbox item, which I'm now trying to separate only the from, subject and date, and I'm trying to put those three things into a series (I think), so I can then plop those results into a GUI list.. it just keeps repeating the last message over and over.. I know the pop stuff works just find, and I can print out with a join right before insert tail - what am I missing? Thanks! -Jon