Subject: Re: VMS Mail sends HTML messages! Date: Fri, 28 Dec 2001 10:17:15 -0500 From: "John Vottero" Organization: Posted via Supernews, http://www.supernews.com Newsgroups: comp.os.vms Don't get too excited, this breaks in V7.3. "Bob Ceculski" wrote in message news:d7791aa1.0112271655.42c7dfea@posting.google.com... > someone posted this awhile ago on this site ... I needed to send an html > confirmation message to customers on our site and found a simple way to do it! > this was what was originally posted ... > > $ cr[0,8] = 13 > $ lf[0,8] = 10 > $ subject = "This is a test." + cr + lf - > _$ + "Mime-Version: 1.0" + cr + lf - > _$ + "Content-Type: text/enriched" > $ write sys$output subject > This is a test. > Mime-Version: 1.0 > Content-Type: text/enriched > $ mail/subject="''subject'" tt: "SMTP%""anybody@xyzcompany.com""" > Enter your message below. Press CTRL/Z when complete, or CTRL/C to > quit: > Sometimes > redI > even amaze myself! > ctrl-Z <-- i.e., here I typed a ctrl-z > $ > > > just do this, changing "enriched" to "html" ... > if you create in any language a variable and define it as the following ... > > SUB = 'Web OrderMime-Version: 1.0Content-Type: text/html' > > and use this variable as the subject content in the mail command, then you can > send an html based file as a the message and it works great! The above > were created w/EDT GOLD KEY, then type decimal 13 or 10, then EDT > GOLD 3 (specins) ... it's that easy!