i think i got a long way to go before i learn all that! But it gives me somewhere to get started! thanks Phil!
koie smith ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 13, 2001 7:00 AM Subject: [REBOL] Re: Email Attachments > 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 .... > http://www.upnaway.com/~philb/philip/pbmail/readmail.r > 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 rebol.com! 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 > > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, October 12, 2001 8:53 PM > Subject: [REBOL] Re: Email Attachments > > > > Hi Koie, > > > > think this is a bug in attach.r ... or maybe in the Rebol send command ... > > > > if you change the line in attach .r > > > > send/header header/to mesg header > > to > > send/header copy header/to mesg header > > > > you will get your "to" address. > > > > Cheers Phil > > > > > > -- original message -- > > > > i also for some reason cannot get the from field to show up in outlook > > express when i send myself email.. it always is blank or says none. can > > anyone tell me why this might be happening? > > > > Koie Smith > > > > > > ----- Original Message ----- > > From: "mechtn" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, October 12, 2001 9:16 AM > > Subject: [REBOL] Email Attachments > > > > > > > > > > Hey, This is Koie again working on this email attachments. I have > finally > > figured it out and am making progress with learning how to send email and > > such. My question is i want the program to prompt me on what file name to > > attach and then it send.. currently my program looks like... > > > > > > rebol > > > [ > > > Title: "Emailer that sends attachments" > > > Author: "Koie Smith" > > > Date: 5-Oct-2001 > > > File: %koie.r > > > Purpose: { > > > A simple script, which uses the e-mail capabilities > > > along with attach.r to send attachments. > > > } > > > ] > > > system/user/email: [EMAIL PROTECTED] > > > system/schemes/default/host: "mail.networktel.net" > > > do %attach.r > > > if (mesg: ask "Please Enter Message: ") = "" [mesg: "(None)"] > > > lv-header: make system/standard/email > > > [ > > > Subject: "New Order" > > > to: [EMAIL PROTECTED] > > > from: [EMAIL PROTECTED] > > > date: to-idate now > > > Content-Type: {text/plain; charset="iso-8859-1"} > > > ] > > > lv-att: [%test.doc] > > > mail mesg lv-header lv-att > > > > > > > > > > > > Thanks Guys for the help! > > > Koie Smith > > > > > > -- > > > 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. > > > > > > -- > > 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. > > > -- > 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.
