If you are trying to send an email in HTML, then you must use HTML tags to ensure proper formatting. For example if all your file content are appearing in single line, then you can insert HTML line break tag <br> after each line to avoid this:-
hello all. I was hoping someone may have an idea or two.
I'm throwing together a shell script that does a lot of application and system level data collection. The idea is is you run it before/after restarting an application for later analysis. A lot of stuff is collected... resource stats,... (4 Replies)
I have a bash script to output the contents of a text file to html. Everything outputs ok, except this:
######################################################################
# #
# PRIVATE/PROPRIETARY #
# #
# ANY UNAUTHORIZED ACCESS TO, OR MISUSE OF ABC COMPANY #
# SYSTEMS OR DATA MAY... (2 Replies)
I am searching for a string in a file and then redirecting the contents in another file... however the formatting is not preserved.. Can you please help me on this ... (5 Replies)
Hi,
I am trying to send html email using mailx like follow on sh shell (Bourne) on HP-UX:
mailx -s "Test HTML output in outlook
MIME-Version: 1.0
Content-Type: text/html" receiver@host.com < file.txt
Content of file.txt are as follows:
<html>
<h2>An important link to look at!</h2>... (3 Replies)
This is my first time writing a script and Im having some trouble,
Im trying to use the top command to monitor processes and the amount of CPU usage they require, my aim is to get an email if a process takes over a certain percentage of CPU usage
I tried grep
Obviosly that hasnt worked,
Any... (8 Replies)
Hello,
I have a script which is sending an html file as an attachment.
#!/usr/bin/ksh
export MAILTO="user@company.com"
export CONTENT="/usr/tmp/file.html"
export SUBJECT="EmailSubject"
(
echo "Subject: $SUBJECT"
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo... (0 Replies)
Hi All,
I am facing issue while trying to send an HTML email using my HP-UX server.
I am trying to send some color codes to be drawn in the output, but in the output the correct color is not appearing. It is appearing some shades of green all the time. I referred to w3 website for the color... (5 Replies)
1) Can you please provide me with a best example of how to send an HTML email via mutt or mail or send email commands using bash shell.
2) I tried below but i am not able to get the variable values in the HTML email output.
(cat <<-EOT
<html>
<head><title></title> </head>
<body>
<p>Hello,... (9 Replies)
I have written one script which connects to MYSQL database, fires one select query and send the results over an email, if there is any Output.
But the Output which I am receiving over email is in text format. I need to get it dispalyed in tabular format to ensure better readability. Below is... (3 Replies)
Discussion started by: Sambit Sahu
3 Replies
LEARN ABOUT DEBIAN
seaudit-report
seaudit-report(8) System Manager's Manual seaudit-report(8)NAME
seaudit-report - SELinux audit log reporting tool
SYNOPSIS
seaudit-report [OPTIONS] LOGFILE ...
DESCRIPTION
seaudit-report allows the user to generate custom audit log reports from the command line or by integration with the Logwatch tool.
OPTIONS -s, --stdin
Read log data from standard input instead of from a file. File(s) specified on the command line will be ignored.
-m, --malformed
Include malformed log messages in generated report.
-o FILE, --output=FILE
Write output to FILE instead of standard output.
-c FILE, --config=FILE
Read configuration options from FILE instead of the default config file.
--html Set output format to HTML instead of plain text.
--stylesheet=FILE
Specify the HTML stylesheet to use for formatting the HTML report. This option is ignored if --html is not given. See the default
styesheet for an example (installed at /usr/share/setools/3.3/seaudit-report.css).
-V, --version
Print version information and exit.
-h, --help
Print help information and exit.
AUTHOR
This manual page was written by Jeremy A. Mowery <jmowery@tresys.com>.
COPYRIGHT
Copyright(C) 2004-2007 Tresys Technology, LLC
BUGS
Please report bugs via an email to setools-bugs@tresys.com.
SEE ALSO seaudit(8)seaudit-report(8)