07-03-2013
hi i am not getting the data from DB ,
i am creating text file in such a pattern (which is body of mail) to be sent as a mail.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
How can I write a HTML file in Unix.
Once I do that, I want to send this file as a body of a mail, along with writing a subject for the mail I am sending through unix.
How can that be done? (0 Replies)
Discussion started by: diwa81
0 Replies
2. Shell Programming and Scripting
I have automated some checks - and I want to send a email when there is an issue.
This is fine and I can send the email.
However - I want to generate the email in html format so I can highlight any issues to a reader..
ie. If there is a disk space issue - then the email will highlight the... (2 Replies)
Discussion started by: frustrated1
2 Replies
3. Shell Programming and Scripting
hi guys,
am required to prepare a report and mail it, to make it more appealing :p i wish to have content of mail in rich text format i.e html type
with mailx how to specify the content type of mail body as html?
Thanks in advance!!!
rishi (2 Replies)
Discussion started by: RishiPahuja
2 Replies
4. UNIX for Dummies Questions & Answers
hi,
I am new to unix.
I need send html content as a mail from my sun-solaris2.6 work station. When I tried that the recipient gets it as html code with all the tags.
any solutions?
thanx in advance (2 Replies)
Discussion started by: gmchoudary
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
i've build a script, 1: neon_script and the other 2:neon_mailing those to scripts i run with 3:neon_handmatig
After that i get a mail in plain text in my mail box and i want it in html format. I already tried already a several things but nothings seems to work.
Somebody got i idea how... (3 Replies)
Discussion started by: Rensen
3 Replies
6. 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
7. Shell Programming and Scripting
Hi,
Can anyone tell me how to mail a html file in unix?
I have a HTML file which contains a table structure, and i want this table to be created in the mail body and mail it.
Does anyone have any suggestions. (3 Replies)
Discussion started by: rocky88
3 Replies
8. Shell Programming and Scripting
Hi Guys,
I was searching and landed up something here only.
This is the code and I want the formatted html in email but that is not working, anybody knows the reason why?
#!/bin/sh
set -x
DATE=`date -u`
# Print beginning of webpage
function html_header
{
cat <<END
... (5 Replies)
Discussion started by: bluemind2005
5 Replies
9. Shell Programming and Scripting
Hi,
I am using the below code:
#!/bin/ksh
SUBJ="Send mail from Unix with file attachments"
TO=sudha.viswanathan@jpmorgan.com
CC=sudha.viswanathan@jpmorgan.com
(
cat << !
To : ${TO}
Subject : ${SUBJ}
Cc : ${CC}
!
cat << !
MIME-Version: 1.0
Content-Type: text/html
`cat... (1 Reply)
Discussion started by: sudvishw
1 Replies
10. UNIX for Beginners Questions & Answers
I am receiving the below output in text format. The output is converted to HTML table using the code mentioned below
output in text
LogDate DayOfWeek/Hours _0_ _1_ _2_ _3_ _4_ _5_ _6_ _7_ _8_ _9_ _10_ _11_ _12_ _13_ _14_ _15_ _16_ ... (3 Replies)
Discussion started by: Dumpi16
3 Replies
LEARN ABOUT DEBIAN
monitoring::livestatus::multi
Monitoring::Livestatus::MULTI(3pm) User Contributed Perl Documentation Monitoring::Livestatus::MULTI(3pm)
NAME
Monitoring::Livestatus::MULTI - connector with multiple peers
SYNOPSIS
use Monitoring::Livestatus;
my $nl = Monitoring::Livestatus::MULTI->new( qw{nagioshost1:9999 nagioshost2:9999 /var/spool/nagios/live.socket} );
my $hosts = $nl->selectall_arrayref("GET hosts");
CONSTRUCTOR
new ( [ARGS] )
Creates an "Monitoring::Livestatus::MULTI" object. "new" takes at least the server. Arguments are the same as in Monitoring::Livestatus.
METHODS
do
See Monitoring::Livestatus for more information.
selectall_arrayref
See Monitoring::Livestatus for more information.
selectall_hashref
See Monitoring::Livestatus for more information.
selectcol_arrayref
See Monitoring::Livestatus for more information.
selectrow_array
See Monitoring::Livestatus for more information.
selectrow_arrayref
See Monitoring::Livestatus for more information.
selectrow_hashref
See Monitoring::Livestatus for more information.
selectscalar_value
See Monitoring::Livestatus for more information.
errors_are_fatal
See Monitoring::Livestatus for more information.
warnings
See Monitoring::Livestatus for more information.
verbose
See Monitoring::Livestatus for more information.
peer_addr
See Monitoring::Livestatus for more information.
peer_name
See Monitoring::Livestatus for more information.
peer_key
See Monitoring::Livestatus for more information.
disable
$ml->disable()
disables this connection, returns the last state.
enable
$ml->enable()
enables this connection, returns the last state.
AUTHOR
Sven Nierlein, <nierlein@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Sven Nierlein
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.3 2010-07-04 Monitoring::Livestatus::MULTI(3pm)