Re: mail command and html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guillaume wrote:
> 2008/11/27 Patrick O'Callaghan <pocallaghan@xxxxxxxxx>:
>> 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@xxxxxxxxxxxxxxxx
>>> 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@xxxxxxxxxxxxxxxx
> 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!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux