RE: HTML Mail from Command Line

2005-06-22 Thread Ted Mittelstaedt

pipe it through mimencode and do other massaging to it.  You do
realize HTML mail is not standardized, don't you?

Send yourself a few HTML mails from something like Outlook and
you can examine the structure and see what is missing and what
you have to do to make it look the same.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Mick Walker
>Sent: Wednesday, June 22, 2005 1:38 AM
>To: freebsd-questions@freebsd.org
>Subject: HTML Mail from Command Line
>
>
>Hi All,
>
>How can I send HTML mail from the command line with freeBSD.
>
>The command: 
>cat design.HTML | mail -s "System Statistics" root
>
>Simply emails the HTML file as a text file, where the HTML code is
>clearly visible. What I want the to make the client see the content as
>HTML, and act accordingly.
>
>As I recall, when I have used other variants of *nix, the mail binary
>comes with a -a flag to specify the content type, this does not appear
>to be true with FreeBSD.
>
>Does anyone know how I can achieve this?
>
>--
>Mick Walker
>Website: http://www.codegurus.org
>ICQ: 71032828
>Y! Messenger: Materialised
>
>Random Quote:
>"Kirk to Enterprise -- beam down yeoman Rand and a six-pack."
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
>"[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: HTML Mail from Command Line

2005-06-22 Thread Mick Walker
On Wed, 2005-06-22 at 01:55 -0700, Ted Mittelstaedt wrote:

> pipe it through mimencode and do other massaging to it.  You do
> realize HTML mail is not standardized, don't you?

Thanks for your reply Ted.

I don't have a mimencode binary on my system and nothing in the ports
tree.
I am using FreeBSD 5.3-Release.

And yes I realise it isnt standardised, however I just want to email
myself a html page, displaying system statistics.

Regards
Mick

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: HTML Mail from Command Line

2005-06-22 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Mick Walker
>Sent: Wednesday, June 22, 2005 2:04 AM
>To: Ted Mittelstaedt
>Cc: freebsd-questions@freebsd.org
>Subject: RE: HTML Mail from Command Line
>
>
>On Wed, 2005-06-22 at 01:55 -0700, Ted Mittelstaedt wrote:
>
>> pipe it through mimencode and do other massaging to it.  You do
>> realize HTML mail is not standardized, don't you?
>
>Thanks for your reply Ted.
>
>I don't have a mimencode binary on my system and nothing in the ports
>tree.

It's part of

/usr/ports/mail/metamail

There's plenty other ASCII-to-MIME converters.  Anyway, this is just part
of the solution.

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HTML Mail from Command Line

2005-06-22 Thread Alex Zbyslaw

Mick Walker wrote:


On Wed, 2005-06-22 at 01:55 -0700, Ted Mittelstaedt wrote:

 


pipe it through mimencode and do other massaging to it.  You do
realize HTML mail is not standardized, don't you?
   



I don't have a mimencode binary on my system and nothing in the ports
tree.
I am using FreeBSD 5.3-Release.

 


Then you need to look a little harder :-)

% find /usr/ports -type f -name pkg-plist -print0 | xargs -0 egrep mimencode
/usr/ports/mail/exmh2/pkg-plist:lib/exmh-%%EXMH_VERSION%%/mimencode.tcl
/usr/ports/mail/metamail/pkg-plist:bin/mimencode

--Alex


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: HTML Mail from Command Line

2005-06-22 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Alex Zbyslaw
>Sent: Wednesday, June 22, 2005 2:21 AM
>To: Mick Walker
>Cc: freebsd-questions@freebsd.org
>Subject: Re: HTML Mail from Command Line
>
>>  
>>
>Then you need to look a little harder :-)
>

The computer looks harder. ;-)

Ted
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HTML Mail from Command Line

2005-06-22 Thread Alex Zbyslaw

Ted Mittelstaedt wrote:


Then you need to look a little harder :-)

   



The computer looks harder. ;-)
 


Only when you tell it to!

--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"