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

[REBOL] Re: Email Attachments

From: philb:upnaway at: 13-Oct-2001 20:00

Hi Koie, Well the attachments are sent to attach.r as a block, so just create a block of the files you wish to attach. To create a list of files in a directory just do a read on it. For each of those file names join the directory name and add to block of files to pass to attach.r. To count the number of files ... just use length? You may also like to check out my email client .... which allows multiple attachements to be appended to an email. The source may be a bit long for you though. Cheers Phil -- original message -- hey thanks alot for the tip with the attach.r ... someone should update that on! i've came along way with learning this language in like 2 1/2 days. Its a very smooth language so far and easy to understand and i'm not even really a programmer. i'm wanting to use the attach.r in a different want than i'm using it now tho and i think its gonna take alot of experiance to do what i'm wanting. I'm wanting to count all the files in say c:\1order and then attach them all and if the email sends sucessful then delete all the files from the 1order directory. Also when it attachs them all it says there are X number of files being sent. Anyways if anyone could give me advice on what i need to learn or help with the code i'd be very thankful. Thanks guys so much! Koie Smith