07-25-2019
Have you considered formatting and sending your email message as an HTML file?
This User Gave Thanks to Neo For This Post:
10 More Discussions You Might Find Interesting
1. HP-UX
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
2. Shell Programming and Scripting
Hi,
I would like to change the font size in bash. I know how do it in ksh:
F_VDOBLE="\033#6"
print "${F_VDOBLE}Esto es..."
But in bash I don't know
Could you help me please?
Many thanks! (5 Replies)
Discussion started by: mierdatuti
5 Replies
3. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies
4. Shell Programming and Scripting
I am writing sql reports to an oracle database, spooling them to a file and emailing them with mailx. I use the syntax below. The reports do not format properly, unless I use the Courier New font. How do I set this with mailx?
mailx -s "MY REPORT, `date +'%D %r` " -r "REPORTING SYSTEM"... (2 Replies)
Discussion started by: guessingo
2 Replies
5. UNIX for Advanced & Expert Users
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies
6. Ubuntu
Hi Guys..
yesterday i purchased a VPS server and installed sendmail on ubuntu 12.4 with Webmin & Apache runing webserver
problem is..
i can send mail via webmin user interface account to anybody to out side to any domain and able to recieve any mail from any domain..
Now main... (2 Replies)
Discussion started by: cmdman
2 Replies
7. Programming
Does anyone know how to change the font size into a larger one, in a basic Motif application? (1 Reply)
Discussion started by: JenniferKuiper
1 Replies
8. UNIX for Dummies Questions & Answers
how do i change from employee= to employee= in ksh.
in my shell script, i just want to employee= to BOLD. (3 Replies)
Discussion started by: lawsongeek
3 Replies
9. 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
10. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT DEBIAN
html::diff
HTML::Diff(3pm) User Contributed Perl Documentation HTML::Diff(3pm)
NAME
HTML::Diff - compare two strings of HTML
This module compares two strings of HTML and returns a list of a chunks which indicate the diff between the two input strings, where
changes in formatting are considered changes.
HTML::Diff does not strictly parse the HTML. Instead, it uses regular expressions to make a decent effort at understanding the given HTML.
As a result, there are many valid HTML documents for which it will not produce the correct answer. But there may be some invalid HTML
documents for which it gives you the answer you're looking for. Your mileage may vary; test it on lots of inputs from your domain before
relying on it.
SYNOPSIS
$result = html_word_diff($left_text, $right_text);
DESCRIPTION
Returns a reference to a list of triples [<flag>, <left>, <right>]. Each triple represents a check of the input texts. The flag tells you
whether it represents a deletion, insertion, a modification, or an unchanged chunk.
Every character of each input text is accounted for by some triple in the output. Specifically, Concatenating all the <left> members from
the return value should produce $left_text, and likewise the <right> members concatenate together to produce $right_text.
The <flag> is either 'u', '+', '-', or 'c', indicating whether the two chunks are the same, the $right_text contained this chunk and the
left chunk didn't, or vice versa, or the two chunks are simply different. This follows the usage of Algorithm::Diff.
The difference is computed on a word-by-word basis, "breaking" on visible words in the HTML text. If a tag only is changed, it will not be
returned as an independent chunk but will be shown as a change to one of the neighboring words. For balanced tags, such as <b> </b>, it is
intended that a change to the tag will be treated as a change to all words in between.
AUTHOR
Whipped up by Ezra elias kilty Cooper, <ezra@ezrakilty.net>.
Patch contributed by Adam <asjo@koldfront.dk>.
SEE ALSO
Algorithm::Diff
perl v5.14.2 2012-01-01 HTML::Diff(3pm)