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

[REBOL] Re: HTML files

From: ralph:abooks at: 19-Aug-2001 19:55

>I am writing a file in HTML and emailing it -it works but with a few >problems: Any ideas why? > > 1. It appears in HTML fine when read by Eudora. > > 2. It appears a code when picked up in Outlook. > >Code: > > write filename reduce [ > > <HTML><HEAD></HEAD> > <BODY bgcolor=lightblue> > <FONT SIZE=3 FACE=courier color=navy>"PURCHASE ORDER - INVOICE >"</FONT> filename<br><br> > <FONT SIZE=3 FACE=courier COLOR=NAVY> > > (SNIP) > > </BODY></HTML> > ] > >End Code: >
John: Here's the technique I recommend in REBOL FOR DUMMIES. Create an HTML page with your standard webpage editor. Then use the REBOL script below to email (and this works fine for Microsoft Outlook, etc.): send/header [elvis--hound-dawg--com] read %letter.html make system/standard/email [ from: [you--downatthefootoflonelystreet--com] subject: "Sing again, Elvis. We miss ya." Content-Type: "text/HTML;" ] --Ralph Roberts author REBOL FOR DUMMIES