[REBOL] Re: send email with attachement from a beginner
From: moeller_thorsten:gmx at: 19-Sep-2002 9:36
Hi,
try out this:
Make a script with following content:
REBOL []
;--- Load attach.r
do %attach.r
;--- Making a header
myheader: make system/standard/email
[
Subject: "Mail with REBOL with attachment"
to: [some--address--domain--com]
date: 19-Sep-2002
Content-Type: {text/plain; charset="iso-8859-1"}
]
;--- Defining a Message
mesg: "This is your first mail from Rebol with an attachment
;--- Defining the Attachment
att: %attach.r
;--- Sending the message
mail mesg myheader att
When you try the script please make sure you modified the header settings to
your needs.
Its untested, so i hope it works.
Perhaps you want to use one of the latest Beta Versions of Rebol, where you
don't have to use attach.r. They are available from
http://www.reboltech.com/downloads. Please read the Release notes for more information.
HTH
Thorsten