Sponsored Content
Top Forums Shell Programming and Scripting Send mail with font color change Post 303037147 by jgt on Wednesday 24th of July 2019 07:14:58 PM
Old 07-24-2019
You will have to build the body of the email using html tags to use color.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Font Color Change Using .profile

Does anyone know how can I change font color, background color etc for a particular user using .profile? Any help is appreciated. (0 Replies)
Discussion started by: fifo_vs_lifo23
0 Replies

2. HP-UX

How to change font and colour in mail sent from Unix

Dear All, We have following code to send mails from unix to users. We want to see few sentences of mail in bold font or to hightlight few lines in different colours. Could you please let me know how can we do it in function construct_body. ... (3 Replies)
Discussion started by: yogichavan
3 Replies

3. UNIX for Dummies Questions & Answers

How to change the font or color of text

Hi Gurus, I have a small requirement where i want to change the color & font of some text in a file. i have a file error.txt which will be created in the script using egrep. After that iam adding these lines at head & tail to that file using the following code awk 'BEGIN{print"Please... (4 Replies)
Discussion started by: pssandeep
4 Replies

4. Shell Programming and Scripting

Specifying font type and color in a shell script

Hi, I am new to shell script. Can you please tell me, whether can we specify font type and color in a shell script? If so, how to do this? Thanks in advance. (4 Replies)
Discussion started by: Vani_Govind
4 Replies

5. Shell Programming and Scripting

Change color or font when executing a script

I'm writing a simple menu script and I would like to output the whole script using background color: black AND foreground color:white. Meaning if the ssh terminal of a user is set to green for example, it will change to my desired color when menu script is executed. Once the script is exited, it... (1 Reply)
Discussion started by: lhareigh890
1 Replies

6. Shell Programming and Scripting

font color in script

i am using ubuntu 11.04 and i just finished writing a shell script but i was wanting to know if their is a way to change the font color of just one sentence? (2 Replies)
Discussion started by: hotshot247
2 Replies

7. UNIX for Dummies Questions & Answers

How to change the background color in the init 3 mode(not line color)

Hello, I am using RHEL 6.1 on VMware I am searching for a way to change background color (not line by line color wich one can using tput command) basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies

8. Shell Programming and Scripting

Identify Color and send email with same color

Hello mates, I have a requirement where in which I have to mail an output from multiple programs in the same colour as the output from shell script. I have seen a post to mail html in our forum,but my case is I have to first identify which colour the output is in an then mail it to in the ... (10 Replies)
Discussion started by: Kingcobra
10 Replies

9. UNIX for Beginners Questions & Answers

Send mail with font change

Hi All, I have a file that contains following entries. I want to highlight the line that has word as "FAILURE" while sending the email. File ------------------------------------------------------------ Job Name: ABC Start Time: 07/20/2019 07:32:39 End Time: 07/20/2019... (4 Replies)
Discussion started by: sdosanjh
4 Replies
wml::std::page(3)						     EN Tools							 wml::std::page(3)

NAME
wml::std::page - Standard HTML Page Header and Footer SYNOPSIS
#use wml::std::page <page [attributes]> [<page_end>] <head>...</head> <title>...</title> DESCRIPTION
This include file provides the new "<page>" tag which is a advanced combination of the HTML "<body>" and "<head>" container tags. The idea is to provide complete header and footer tags via one single tag while providing new features like page indentation, easy title specification and setup of default values for the page colors. ATTRIBUTES
"title" This is a shorthand for the container tag "<title>". The value of this attribute is placed in the "<head>" section of the page, surrounded with the "<title>" tag. "indent" This sets the indentation level of the page in units of "<blockquote>"'s. Default is no indentation. Setting "indent" to a value of N means the page is surrounded by N "<blockquote">> tags. The attribute "indent=1" or "indent=2" usually provides the best readable layout. "background" This just corresponds to the same attribute of the "<body>" tag and sets the background image. This is per default not used. "bgcolor" This just corresponds to the same attribute of the "<body>" tag and sets the background color. Default is "bgcolor="#ffffff"" (white). "text" This just corresponds to the same attribute of the "<body>" tag and sets the text color. Default is "text="#000000"" (black). "link" This just corresponds to the same attribute of the "<body>" tag and sets the normal hyperlink color. Default is "text="#333399"" (medium blue). "alink" This just corresponds to the same attribute of the "<body>" tag and sets the color for activated hyperlinks. Default is "text="#9999ff"" (light blue). "vlink" This just corresponds to the same attribute of the "<body>" tag and sets the color for already visited hyperlinks. Default is "text="#000066"" (dark blue). "color" When setting "color="none"", the five previous attributes are not put into the "<body>" tag. "onload" This just corresponds to the same attribute of the "<body>" tag and sets a JavaScript even handler which is activated after page was loaded. This is per default not used. "info" This automatically puts a "<info style=meta>" tag into the "<head>" section of the page. See wml::std::info(3) for more details. "slices" This enables the creating of three slices: "WML_STDPAGE_HEAD", "WML_STDPAGE_BODY" and "WML_STDPAGE_FOOT". These can be used later in Pass 9 (Slice) for cutting out parts of the page. :html:ATTR=STR :body:ATTR=STR The ``ATTR=STR'' pairs are passed along to the "<html>" and "<body>" HTML tags. OTHER COMMANDS
This module implements two new macros, called "<title>"..."</title>" and "<head>"..."</head>". The first one defines the title of the page, and the second appends its body into the HEAD section of the HTML documents. Its main purpose is to add meta-tags, either directly or with the help of wml::std::info(3). AUTHOR
Ralf S. Engelschall rse@engelschall.com www.engelschall.com REQUIRES
Internal: P1, P2, P5 External: -- SEE ALSO
HTML "<head>", "<body>" and "<title>" tags; wml::std::info(3) EN Tools 2014-04-16 wml::std::page(3)
All times are GMT -4. The time now is 01:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy