At 03:22 PM 1/18/00 +1100, you wrote:
>Ive gotten the script to work, but now i have trouble adding a header 
>to the email, i dont know where to put the object in send.
>

>> help send
Send a message to an address (or block of addresses)
Arguments:
    address -- An address or block of addresses (email block)
    message -- Text of message. First line is subject.
Refinements:
    /only -- Send only one message to multiple addresses
    /header -- Supply your own custom header
        header-obj -- The header to use (object)

>> send/header [EMAIL PROTECTED] {message} make object! [
    To: none
    CC: none
    BCC: none
    From: none
    Reply-To: none
    Date: none
    Subject: none
    Return-Path: none
    Organization: none
    Message-Id: none
    Comment: none
    X-REBOL: {2.2.0.3.1 "The Internet Messaging Language (TM) WWW.REBOL.COM"}
    MIME-Version: none
    Content-Type: none
    Content: none
]

or, if you prefe,

>> send/header [EMAIL PROTECTED] {message} make system/standard/email [
            from: [EMAIL PROTECTED]
            subject: {some subject here ^/}
        ]

or whatever fields of the generic header object you want to populate.

Hope this helps

;- Elan >> [: - )]

Reply via email to