E-Mail attachments
[1/2] from: dbart1:yaho:o at: 31-Jan-2002 12:36
I'm trying to send an email that has a text file
as an attachment. I finding very little info on
how to do this. The example on the rebol site
utilizes some sophistcated code and I'm still
a bit of a newbie with rebol so it's no help.
Does anyone have a simple example of how to do
this? Or can someone point me to some info
about how to do this? Any help would be
appreciated.
David B
[2/2] from: ronald:free at: 31-Jan-2002 23:44
Relayed by Gregg on october the 11 th 2001 (question of Koie Smith)
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>
Hope it can help
At 12:36 31/01/02 -0800, you wrote:
>I'm trying to send an email that has a text file
>as an attachment. I finding very little info on
<<quoted lines omitted: 14>>
>[rebol-request--rebol--com] with "unsubscribe" in the
>subject, without the quotes.
Ronald GRUSS
Celui qui n'a pas le goût de l'absolu se contente d'une médiocrité tranquille.
Peintre impressionniste français [ Paul Cézanne ]
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted