Hi Jon,

This code seems to work here???

rebol []
mb: pop://user:[EMAIL PROTECTED]
mailbox: open mb

displayFields: [["Jon" "message" "one"]]
while [not tail? mailbox] [
    msg: import-email first mailbox
    print msg/subject
    insert tail displayFields [[msg/from msg/subject msg/date]]
    mailbox: next mailbox
]
close mailbox
halt


Cheers Phil

=== Original Message ===


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

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to