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: [EMAIL PROTECTED]
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
> hello,
> I tried to send an email with an attachement , and I saw attach.r
> (library) but iI don't know use it .
> It make a base 64 attachement , and i prefer send the correct
> content-type with each attachement.
>
> thank you for your help
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.