[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-admin
Subject:    [HPADM] sending attachments using mailx
From:       Blair Wagner <blair.wagner () cci-triad ! com>
Date:       2001-11-30 23:09:50
[Download RAW message or body]

Hi all,

Please, PLEASE help me!!!! 

I've recently been charged with making our small stand alone server
email an HTML file, daily to a group of people. The HTML file is written
each nmorning by an old simple application. I need to set up a cron or
other non-interactive process to send the HTML file out each day.

I've successfully gotten sendmail (as installed with Internet Services
on our 11.0 D330, sendmail v8.8 I think) working. I've also set up an
alias list to send email to the group of people. All this works file.

I have successfully gotten mailx to send the HTML file:

cat msg.html | mailx -s "your daily report" appl_list

This works great!  EXCEPT!!! ...the headers in the email that mailx
places at the top of the message NEVER indicate that the following
portion is text/html.  It always indicatesa content type of text/plain.

EXAMPLE:

From - Fri Nov 30 17:38:48 2001
Return-Path: <root@diamond.newton.coop.com>
Received: from diamond.newton.coop.com ([159.66.196.11]) by
          aus-mail.coop.com (Netscape Messaging Server 4.15) with ESMTP
id
          GNMXD600.A3B for <blair.wagner@ccitriad.com>; Fri, 30 Nov 2001
          16:34:19 -0600 
Received: (from root@localhost)
	by diamond.newton.coop.com (8.9.3 (PHNE_18546)/8.9.3) id RAA12851
	for blair.wagner@ccitriad.com; Fri, 30 Nov 2001 17:32:37 -0500 (EST)
Date: Fri, 30 Nov 2001 17:32:37 -0500 (EST)
From: blairwag@diamond.newton.coop.com
Message-Id: <200111302232.RAA12851@diamond.newton.coop.com>
To: blair.wagner@ccitriad.com
Subject: Your daily report
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
...

How do I get mailx to set the Content-Type: to text/html ?????

If necessary I could use elm in file mode but I have the EXACT same
problem with it, too. HELP!

TIA, I'll summarize.



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 William Blair Wagner      Education is not always knowing the answer,
 CCITRIAD                  ..but rather knowing where to look for it!
 blair.wagner@ccitriad.com
 Senior Development Engineer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic