mail command and html

Fred Silsbee fredsilsbee at yahoo.com
Thu Nov 27 17:30:38 UTC 2008




--- On Thu, 11/27/08, Mikkel L. Ellertson <mikkel at infinity-ltd.com> wrote:

> From: Mikkel L. Ellertson <mikkel at infinity-ltd.com>
> Subject: Re: mail command and html
> To: "Community assistance, encouragement, and advice for using Fedora." <fedora-list at redhat.com>
> Date: Thursday, November 27, 2008, 5:27 PM
> Guillaume wrote:
> > 2008/11/27 Patrick O'Callaghan
> <pocallaghan at gmail.com>:
> >> On Thu, 2008-11-27 at 16:59 +0100, Guillaume
> wrote:
> >>> hi,
> >>>
> >>>
> >>> I would like to send a html mail from console
> with the  `mail`
> >>> utility. I try this :
> >>>    cat html.file |mail -s subject
> recipient at somewhere.domain
> >>> I try to had some header in the htlm.file but
> it does not work too.
> >> You need to say what you mean by "does not
> work".
> > Ok sorry !
> > 
> > When i send email with simple command like
> >     $cat html.file |mail -s subject
> recipient at somewhere.domain
> > the mail arrive to recipient but is not read as HTML.
> In the mail
> > reader the html tag appear in "clear" and
> text is not formatted...
> > Of course, the file i use is well formated in html
> language.
> > 
> > 
> The problem is that the mail command does understand MIME
> so it
> sends everything as plain text. You may want to look at
> nail instead.
> 
> Mikkel
> -- 
> 
>   Do not meddle in the affairs of dragons,
> for thou art crunchy and taste good with Ketchup!
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines:
> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

It was ketchup that gave away the infiltrator in

"Attack of the Killer Tomatoes"

The leprechaun has not been chomping top posters...id he OK?



      




More information about the users mailing list