Hi Koie,

Phil Bevan recently posted this to someone else asking a similar question:

<snip>
Asuming this scripts lives in the same directory as attach.r & bay.jpg you
can try

rebol
[]

; assumes bay.jpg & attach.r are in the same direcory

do %attach.r

lv-header: make system/standard/email
[
    Subject: "A subject Line"
    to: [EMAIL PROTECTED]
    from: [EMAIL PROTECTED]
    date: to-idate now
    Content-Type: {text/plain; charset="iso-8859-1"}
]

lv-att: [%bay.jpg]

mail "Some Content" lv-header lv-att

halt
<snip>

--Gregg

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
mechtn
Sent: Thursday, October 11, 2001 2:11 PM
To: [EMAIL PROTECTED]
Subject: [REBOL] Email Attachments



Hi, I just came across rebol not too long ago and have been playing with it
ever since. I am a consultant wanting to design a simple system to send
email and include and attachment from another language we use called
Smartware. Smartware has the ability to run command line programs and rebol
seems to be the best language to run a simple script to automate this
email. Basically we have one file that we want to attach and i been looking
over this attach.r thats on the website. It looks pretty complicated for me
as a beginner and i'm not sure where i need to go with it. Can anyone
please give me some hints/tips or anything. I appreciate it in advance.

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.

Reply via email to