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:
Robert Mills <[log in to unmask]>
Reply To:
Robert Mills <[log in to unmask]>
Date:
Mon, 9 May 2005 11:26:52 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (80 lines)
Hi Tom,

1) The answer to your first question is a resounding NO.

All emails generated by our e3000 are from 'Windsong Services' and are
sent on behalf of a sister company within the group. The text file we
currently load into the body of the emails tells the recipient:

a) Which sister company the email is from.
b) What the attached file(s) contain (Invoices. Credit/Debit Notes,
Delivery Notes, Stock Information, etc.) and what period they are for.
c) Who to contact if they have a problem/question regarding the data in
the attached files.
d) Who to contact if they require a change in the data they are sent.
e) Who to contact if they have a problem with the email itself.
f) Web addresses for 'Company' and 'New Release' information.

Currently this information appears as 10pt Courier New with asterix's
used to create boxes and underlining. All looks a bit amateurish. I have
a copy of the script that creates the current 'body text' file that has
been modified to create an HTML format file. Different font sizes,
underlining, hyper-links and mailto-links have been used to make it look
more up-to-date. Note: Both the current and new body text files are
approx 2,500 bytes in size.

2) When you open, in Outlook, an email from our e3000 the title bar
states that it is in 'Plain Text' format. I think that I have to tell
Sendmail that it should be sending the email in HTML format. Will it do
this? And if so how?

regards,
 
Robert W.Mills
Systems Development Manager
Windsong Services
(020) 8309 3604

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Tom Emerson
Sent: 08 May 2005 17:04
To: [log in to unmask]
Subject: Re: [HP3000-L] Sendmail

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 *

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

ATOM RSS1 RSS2