The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to forward mail in /var/mail/username to external mail unitipon SUN Solaris 2 05-26-2008 09:20 PM
COLOR needed kisses AIX 1 04-24-2008 04:01 PM
Vim color mirusnet Shell Programming and Scripting 1 01-06-2008 08:43 AM
ls color andryk AIX 3 05-14-2004 12:26 AM
Color issue meyersp SUN Solaris 1 11-13-2003 02:37 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-02-2007
Registered User
 

Join Date: Jul 2005
Posts: 23
Different color in mail

Hi,

The following command i executed

mailx -s "hi" abc@yahoo.com<<EOF
`echo "^[[31mWelcome"`
EOF

I don't any color (RED) in my mail.

Please assist me?

Os is SunOs 5.8

Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 11-02-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Emails come in two major flavours

(a) standard traditional text only

(b) MIME encoded HTML

If you want colours and graphics then use HTML but this won't be viewable by somebody using a text only mail client.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0