Look here:
send/only [test@test.com maxint@tiscali.it] "Testing Rebol send/only"
The source of the email received will be:
From: MaxV
To:
Date: Wed, 27 Feb 2013 15:26:40 +0100
Subject: test Rebol send/only
X-REBOL: View 2.7.8.3.1 http://WWW.REBOL.COM
Testing Rebol send/only
As you noted the To: field is empty and there aren't other fields.
The best way in order to create beautiful mail is to create your custom header:
myheader: make object! [
X-REBOL: "View 2.7.8.3.1 http://WWW.REBOL.COM"
Subject: "My subject"
From: maxint@tiscali.it
Return-Path: maxint@tiscali.it
To: "only for the secret R3B community..."
Date: to-idate now ;we must set a correct RFC 822 standard format date or our emails will be identified as spam
MIME-Version: "1.0"
]
send/header/only [maxint@tiscali.it test@test.it] "Testing send/only again..." myheader
And you'll obtain:
X-REBOL: View 2.7.8.3.1 http://WWW.REBOL.COM
Subject: My subject
From: maxint@tiscali.it
To: only for the secret R3B community...
Date: 06/03/2013 15.11 MIME-Version: 1.0
Testing send/only again...
Cool!
No comments:
Post a Comment