09-18-2008
the following is the format i usuall use for short messages.
#:>echo "this is a test message" |mailx -s"test subject"
testuser@testuser.com
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone!
I'm trying to create a database monitoring script that reads an alert file and sends an error message if it can 'grep' a particular string.
Is there a way to send this message to a mail client using SMTP?
Even better, is there any place on this site that has these kinds of... (5 Replies)
Discussion started by: solaris73
5 Replies
2. Shell Programming and Scripting
Dear all,
how can i send mail using mailx or mail command?do i need to configure anything for sending mail?please help me.Its urgent.
the version i use is
Linux TDM 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
Thanks
Regards,
Pankaj (15 Replies)
Discussion started by: panknil
15 Replies
3. Shell Programming and Scripting
hi experts,
I m new to the sun solaris.
on our OS (sun solaris 5.8) i m trying to send mail but i not getting any mail, i have tried doing following .
$mailx -s "Test" sivakumars@kesd.com
But no response there no error also...
pls let me know:
1) How can test sending mail through... (3 Replies)
Discussion started by: saisivakumar
3 Replies
4. Shell Programming and Scripting
Hi Friends,
I tried to mail from my sun solaris 5.8 by:
$mailx -v sridha_151086@yahoo.co.in
Subject: Test mail
This is the test mail!!
.
EOT
The error message I got is:
land% Sri... forward: /export/home/Sri/.forward.+: World writable directory
Sri... forward:... (1 Reply)
Discussion started by: sridharnr
1 Replies
5. UNIX for Dummies Questions & Answers
I need to send invoke a script that sends out a mail, whenever a box fails (i.e., one or more of the jobs in the box fail). The key point is that this job should start on failure of box, but it should be able to find out the jobs in the box that have failed and pass them to the script.
Please... (1 Reply)
Discussion started by: hidnana
1 Replies
6. Solaris
I folks,
season's greetings.
Hope you had a good festive season.
I've got 2 related problems on the same Sun Cluster 3.2.2 Apache 2.0.63 cluster:
clsetup error: ERROR: Failed to get connection to node localhost
SunOS... (0 Replies)
Discussion started by: cluster
0 Replies
7. Shell Programming and Scripting
Hi,
I have a application which send mail to the respective client upon success or failure case of file transfer, upon success there is no problem.
But in case of failure that application is running again in cron job,so still success of file transfer the client will get the failure notification.... (5 Replies)
Discussion started by: posix
5 Replies
8. Shell Programming and Scripting
Hi guys...
I am busy writing a script to notify me via an mail if my application is down. I have done that.
Now I want this script to stop sending mails after five mails were sent but the script should keep on checking the application.
When the application is up again that count should be... (5 Replies)
Discussion started by: Phuti
5 Replies
9. Shell Programming and Scripting
dear all,
i have script rsync like this :
#!/bin/sh
RSYNC=/usr/bin/rsync
SSH=/usr/bin/ssh
RUSER=root
RHOST=123.123.123.1
INTRPATH=/home/jargo/log/internasional/
INTHPATH=/var/www/international/
IIXRPATH=/home/jargo/log/iix/
IIXHPATH=/var/www/iix/
TTLRPATH=/home/jargo/log/total/... (2 Replies)
Discussion started by: indracyd
2 Replies
10. Red Hat
Whats the difference between mail and mailx?
I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL)
... (1 Reply)
Discussion started by: RedSpyder
1 Replies
LEARN ABOUT DEBIAN
www::topica::reply
WWW::Topica::Reply(3pm) User Contributed Perl Documentation WWW::Topica::Reply(3pm)
NAME
WWW::Topica::Index - parse a single Topic mailing list index
SYNOPSIS
my $index = WWW::Topic::Index->new($index_html);
foreach my $message_id ($index->message_ids) {
# the mail has some information and also provides a link to the reply ...
my $mail = WWW::Topica::Mail->new($topica->fetch_mail($mess_id), $mess_id);
# which has other information (like the un-htmled mail and the email address) ...
my $reply = WWW::Topica::Reply->new($topica->fetch_reply($mail->id, $mail->eto), $mail->id, $mail->eto);
}
print "Next offset is ".$index->next."
";
print "Previous offset is ".$index->prev."
";
DESCRIPTION
Used to parse a single reply page from Topica.com's mailing list indexes.
Reply pages have the body of the email (albeit quoted) and potentially a full email address.
METHODS
new <page html> <message id> <eto>
Takes the html of the page, the eto and the message-id and parses the html.
parse <html>
Parse the html to get the subject, email address and body of the email.
id
Get the message id
eto
Get the message eto
email
Get the email address parsed out.
subject
Get the email subject parsed out.
body
Get the email body parsed out.
AUTHOR
Simon Wistow <simon@thegestalt.org>
COPYRIGHT
Copyright (c) 2004, Simon Wistow
perl v5.10.1 2006-01-03 WWW::Topica::Reply(3pm)