[REBOL] Re: Email Attachments
From: greggirwin:mindspring at: 11-Oct-2001 16:18
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: [philb--upnaway--com]
from: [philb--upnaway--com]
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