07-09-2007
What you have is a plain text email. To do what you want you would need to send the email as HTML. However this then requires the email reader to support HTML.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I have written one script. If i run the script, particular text in that script needs to be displayed in color.how this could be done?any commands r there to change the colour of the text while running the script?
Ur help is appreciated !!!
Thanx in Advance,
Sona. (7 Replies)
Discussion started by: Sona
7 Replies
2. Shell Programming and Scripting
Could you pls tell me how to change the font colour in unix ?
What is the syntax ? (3 Replies)
Discussion started by: sars
3 Replies
3. Shell Programming and Scripting
hi all,
how do i change the colour of text if i am using printf ?? in my script i am printing out response times from the server and i wanted to print out the max response time in red.
ta. (1 Reply)
Discussion started by: cesarNZ
1 Replies
4. UNIX for Advanced & Expert Users
Hi
I want to change the color of the email content sent through unix. I tried a lot and left in vain. I heard that it could be done by sending the email as HTML. But I don't how to do it. Can you all share your ideas?
~sakthifire (1 Reply)
Discussion started by: sakthifire
1 Replies
5. Shell Programming and Scripting
Hi,
I know that we would be require HTML to change the font and color of the text of the output, if we wnt to send that through the email.
But I have managed to get below code, can someone look into it and let me know if i can acheive my requirement through this kind of code:
Following can... (9 Replies)
Discussion started by: amit.mathur08
9 Replies
6. Programming
i want to ask how to change the colour of prompt message from use?
and also how to change colour in printing........
i want to change it as blue colour and red colour, but i found many website still don't know how to do. how's the command is wrote?
thz really!! (1 Reply)
Discussion started by: wendy1089
1 Replies
7. Shell Programming and Scripting
Hi,
I am trying to write a script which will email a backup report from the server,
The contents of the email will be:
---------------------- ---- -- ---- ----- ---- ------- ---- ------- -------
| | | | |Chnge|Wkng| | | | |
| ... (6 Replies)
Discussion started by: Bdoydie
6 Replies
8. Shell Programming and Scripting
Need assistance . I have a cvs file which i changed to html file but when i try to send mail to outlook its indent goes wrong. any idea is appreciated .
below are some commands i tried using
Converting csv to html
#!/bin/sh
nawk 'BEGIN{
FS=","
print "MIME-Version: 1.0"
print ... (7 Replies)
Discussion started by: ajayram_arya
7 Replies
9. UNIX for Beginners Questions & Answers
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
10. Shell Programming and Scripting
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
LEARN ABOUT PHP
printer_create_font
PRINTER_CREATE_FONT(3) 1 PRINTER_CREATE_FONT(3)
printer_create_font - Create a new font
SYNOPSIS
resource printer_create_font (string $face, int $height, int $width, int $font_weight, bool $italic, bool $underline, bool $strike-
out, int $orientation)
DESCRIPTION
The function creates a new font and returns a handle to it. A font is used to draw text. For an example see printer_select_font(3).
PARAMETERS
o $face
-$face must be a string specifying the font face.
o $height
-$height specifies the font height.
o $width
-$width specifies the font width.
o $font_weight
- The $font_weight specifies the font weight (400 is normal), and can be one of the following predefined constants.
o PRINTER_FW_THIN: sets the font weight to thin (100).
o PRINTER_FW_ULTRALIGHT: sets the font weight to ultra light (200).
o PRINTER_FW_LIGHT: sets the font weight to light (300).
o PRINTER_FW_NORMAL: sets the font weight to normal (400).
o PRINTER_FW_MEDIUM: sets the font weight to medium (500).
o PRINTER_FW_BOLD: sets the font weight to bold (700).
o PRINTER_FW_ULTRABOLD: sets the font weight to ultra bold (800).
o PRINTER_FW_HEAVY: sets the font weight to heavy (900).
o $italic
-$italic can be TRUE or FALSE, and sets whether the font should be italic.
o $underline
-$underline can be TRUE or FALSE, and sets whether the font should be underlined.
o $strikeout
-$strikeout can be TRUE or FALSE, and sets whether the font should be stroked out.
o $orientaton
-$orientation specifies a rotation.
RETURN VALUES
Returns a font handle on success or FALSE on error.
PHP Documentation Group PRINTER_CREATE_FONT(3)