Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 10:01 AM
тАО10-30-2009 10:01 AM
Colors
mailx -s "date "+%Y%m%d"` " $correos < ${ruta_monitor}/${b}_m.log
${b}_m.log contains:
Cat
Dog
Chair
Computer
once the file has been sent (through email command) i need "Cat" be in red color and "Chair" in blue color showed once the user has been open their email notification.
how can i do that?
thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 10:04 AM
тАО10-30-2009 10:04 AM
Re: Colors
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 10:28 AM
тАО10-30-2009 10:28 AM
Re: Colors
how can i force to email command be sent as html ? and how could i put color ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 11:28 AM
тАО10-30-2009 11:28 AM
Re: Colors
Cat
Dog
Chair
Computer
try pasting the above into notepad. save as demo2.html and then opening it. should pop Explorer and display.
you then send the file as an attachment. There may be other ways, but you're not going to be able to "colorize" the file without somekind of reformatting. By that, I mean that you can't send just plain-text and expect to get colors out the receiving end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 11:49 AM
тАО10-30-2009 11:49 AM
Re: Colors
You can write the html file and attach with the mail,
Ex:
------unix_col_mail.html-------
Below TEXTs in Color
Cat
Dog
Chair
# ux2dos unix_col_mail.html | uuencode unix_col_mail.html | mailx -m -s "TEST. MAIL " youremail@domain.com < Text_body_file
- Also if the mail client can support direct html code display you can send it like:
# cat unix_col_mail.html | mailx -m -s "TEST. MAIL " youremail@domain.com
Hth,
Raj.