send cmd
[1/4] from: roberth:utdallas at: 22-Oct-2001 9:10
How can I attach a file with the send instruction; And can copies 'CC'
be included...
bobh
[2/4] from: greggirwin::mindspring::com at: 22-Oct-2001 10:13
Hi Bob,
<< How can I attach a file with the send instruction; And can copies 'CC'
be included... >>
There is a sample in the script library called attach.r which seems to be
the starting point most people use. Someone did this recently. Koie? Any
pointers for Bob?
--Gregg
[3/4] from: philb:upnaway at: 23-Oct-2001 8:14
Hi Bob,
Asuming this scripts lives in the same directory as attach.r & bay.jpg you can try
The script attach .r is in the Rebol library (I believe there is a small bug regrding
not properly filling in the "To" field)
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: [sombody--somewhere--com]
from: [me--myhost--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
Cheers Phil
-- original message --
Hi Bob,
<< How can I attach a file with the send instruction; And can copies 'CC'
be included... >>
There is a sample in the script library called attach.r which seems to be
the starting point most people use. Someone did this recently. Koie? Any
pointers for Bob?
--Gregg
[4/4] from: roberth:utdallas at: 23-Oct-2001 8:20
Thanks philb; I'll give it a try.
bobh
-----Original Message-----
Librarian comment
More recent versions of of REBOL have /attach as a refinement to send.