Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: E-Mail attachments

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:
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
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 >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 > >__________________________________________________ >Do You Yahoo!? >Great stuff seeking new owners in Yahoo! Auctions! > >-- >To unsubscribe from this list, please send an email to >[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 ]