HP3000-L Archives

May 2005, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tom Emerson <[log in to unmask]>
Reply To:
Tom Emerson <[log in to unmask]>
Date:
Sun, 8 May 2005 09:03:58 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Robert Mills wrote:
> work. Now I have time to add a few 'bells and whistles' to make the
> emails look more professional.

Since you later ask how to send HTML, by "more professional" I presume
you mean "I have time to make our e-mails look like spam", right?

> At the moment I load the contents of a text file into the body of the
> email (see command file extract).
>
>   #-- Generate the first body which contains the message output.
>
>   echo --!_sendmail_sep >> *smwork
>   echo Content-Type: text/plain; charset=us-ascii >>*smwork
> </snip>
>
> Is it possible to replace the raw text with HTML code? And if so what
> changes would I need to make?

You practically have the answer in front of you, but rather than
REPLACE, you would want to EXPAND the size of your e-mail by roughly
300% and ADD a section containing the HTML part [as I said about spam,
many spam filters "bump up" the likelihood that a message is "spam" if
it does NOT contain a plain-text section]  In any case, the answer is to
use a Content-Type sub-header for HTML -- look into the "source" of any
e-mail that you've received that contains HTML for the specific tag and
layout.

[generating HTML instead of "plain text" for the main body is a separate
excersize]

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2