Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

SMTP and custom header not correct...

 [1/2] from: jr::brainbyte::com at: 11-Sep-2000 15:04


this is a snippet of code from the user manual online: send/header [some-one--host--com] "message." make system/standard/email [ FROM: [me--host--com] subject: "This is my unique subject line." ] according to this you can specify the fields when sending out an email thru Rebol but I get errors from this code Script Error: send expected header-obj argument of type: object. tried some other variations and none work Help! Jeff Rubin, CTO & Co-Founder Audiopia Shutup and Listen... http://www.audiopia.com also check out my personal site Brainbyte! http://www.brainbyte.com

 [2/2] from: al:bri:xtra at: 12-Sep-2000 13:20


Jeff Rubin wrote:
> this is a snippet of code from the user manual online: > send/header [some-one--host--com] "message." make
<<quoted lines omitted: 3>>
> ] > according to this you can specify the fields when sending out an email
thru Rebol but I get errors from this code
> Script Error: send expected header-obj argument of type: object. > > tried some other variations and none work
REBOL/View 0.10.31.3.1 6-Sep-2000 Copyright 2000 REBOL Technologies. All rights reserved.
>> help send
USAGE: SEND address message /only /header header-obj DESCRIPTION: Send a message to an address (or block of addresses) SEND is a function value. ARGUMENTS: address -- An address or block of addresses (Type: email block) message -- Text of message. First line is subject. (Type: any) REFINEMENTS: /only -- Send only one message to multiple addresses /header -- Supply your own custom header header-obj -- The header to use (Type: object)
>> send/header [Al--Bri--xtra--co--nz] "Hello Andrew" make system/standard/email [
[ from: [Al--Bri--xtra--co--nz] [ subject: "A subject line" [ ]
>>
Return-Path: <[Al--Bri--xtra--co--nz]> Received: from [203.96.110.124] by mta3-rme.xtra.co.nz (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20000912011639.LWFB898.mta3-rme.xtra.co.nz@[203.96.110.124]> for <[Al--Bri--xtra--co--nz]>; Tue, 12 Sep 2000 13:16:39 +1200 To: [Al--Bri--xtra--co--nz] From: [Al--Bri--xtra--co--nz] Date: Tue, 12 Sep 2000 13:17:39 +1200 Subject: A subject line X-REBOL: 0.10.31.3.1 http://WWW.REBOL.COM Message-Id: <20000912011639.LWFB898.mta3-rme.xtra.co.nz@[203.96.110.124]> Hello Andrew Seems to work OK for me. Try restarting Rebol, you may have accidentally redefined something. I hope that helps! Andrew Martin ICQ: 26227169 http://members.ncbi.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted