[EMAIL PROTECTED] wrote:
>
> Hi,
>
> I am starting programming in Rebol and have the following problem:
>
> I have a file with an email adress in the first line
> How can I grab the email adress and use it ? The following seems not
> to work - no idea why
>
> ------------------------------------snip-----------------------------
>
> message: read %/F/Apfel.txt
> file: read/lines %/F/Apfel.txt
> to: first file
Change the above to:
to: make email! first file
or see below.
> header: make system/standard/email [
> To: to
> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> Subject: "Test Mail"
> Organization: "No one"
> X-mailer: "[Test Mailer v0.01]"
> MIME-Version: 1.0
> Content-Type: "text/plain"
> ]
>
> send/header to message header
send/header make email! to message header
I think that should work also (been awhile since I've toyed with email.)
Regards,
Deryk