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

[REBOL] What's with the change to send in Rebol core?

From: gary::groupmiller::com at: 22-Oct-2000 2:49

I had been experimenting with using Rebol for posting email & ftp'ng files from a Linux server. I was sending html text files with send. They were arriving in MS Outlook as html files. Recently, I downloaded an update to core & have been blessed with surprises: 1) The message is now in html format with Rebol version # & link at the top of the page. 2) HOWEVER, now both MS Outlook/Outlook Express convert my html code to text on the html page!! (as in the Rebol adv. link appears, followed by a display of all my html code as if it were text on the page!). The really perplexing thing about this is that displays the pages properly (With the Rebol adv. link at the top, naturally.) 3) Content-type: "text/html" is also printed _on_ the page. My code had been working in the form of senit.r as follows: rebol [ Title: "Send Web Page" Date: 30-Sep-2000 Version: 0.1.1 File: %sendit.r Author: "Gary Miller" Email: [gary--groupmiller--com] Rights: "Copyright (c) Gary Miller 2000" Need: 2.3.0 Purpose "Email web pages" Comment: " " ] tolist: load %tolist.txt subject: read %subject.txt message: page: read %/tmp/e1.html header: make system/standard/email [ Subject: read %subject.txt Content-Type: "text/html" ] send/header tolist message header The change to core has made Rebol "send" unusable for generating html emails! ------------------------------------------------------- Gary L. Miller | filePro The Miller Group | APPGEN (253) 939-2307 Fax (253) 735-8384 | SCO [gary--groupmiller--com] | Linux | Win95/98/NT/2000