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

[REBOL] E-Mail saving & loading

From: philb::upnaway::com at: 9-Jul-2002 10:16

Hi Guys, I have a problem with my email client .... if I save an email that is addressed to multiple users andd then reload it in using import-email the to field only gets set with a single user. I have isolated the code to the following rebol [] ; Make the Header lv-hdr: make system/standard/email [ Subject: "Subject Line" to: [[user1--test--com][user2--test--com]] from: [me--test--com] date: to-idate now Content-Type: {text/plain; charset="iso-8859-1"} ] ; Convert the email to text lv-em-text: rejoin [net-utils/export lv-hdr "^/" "Test Message"] ; I save the email text here print lv-em-text ; Try to import it here lv-em: import-email lv-em-text probe lv-em halt The impoorted email has only 1 entry in its to field. Is this a bug in import-email? or net-utils/export? It seems inconsistent that I can save the email but then cant re-load back in with the same infomation. Any ideas? Cheers Phil