> 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 ?

[REBOL []
message: read %/F/Apfel.txt
file: read/lines %/F/Apfel.txt
to: load first file

header: make system/standard/email compose [
    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"
    ]
]

Give that a shot and see if it works.

Andrew Martin
Rebol forces...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
-><-

Reply via email to