10 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
Hi All,
I have a script that looks like this:
***********
#!/bin/sh -x
cd /u01/app/oracle/diag/rdbms/spdb/spdb/trace
cat alert_spdb.log|grep Archiver >/dev/null
if ;
then
mailx -s "Archiver message in Alert log" user@email.com
fi
************
Im using the -x option to see any... (1 Reply)
Discussion started by: oradba888
1 Replies
3. 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
4. Shell Programming and Scripting
Hi,
This is the end of the script. When i try to execute the script, i am getting the error.
Please help me as to what is wrong with this script.?
elif
echo 'Load Failed -- Return Code =' $rc
subject="Consent table load failed"
(
echo "The log file is attached to... (1 Reply)
Discussion started by: msrahman
1 Replies
5. Shell Programming and Scripting
Hi All,
I used before a simple routine code in tcl to send mail.
package require smtp
package require mime
package require Tcl
proc send_simple_message {recipient email_server subject body} {
set token
mime::setheader $token Subject $subject
smtp::sendmessage $token \
... (0 Replies)
Discussion started by: zivsegal
0 Replies
6. UNIX for Dummies Questions & Answers
i want to send an email from the unix machine to the windows machine.
now windows dont have any specified folder for the mail. mail has to be sent to the email-id like abc@xyz.com
unix machine itself can not directly send mail.
it has to be transferred via mail server. (11 Replies)
Discussion started by: parmeet
11 Replies
7. HP-UX
Hi..
In Hp ux box,, mails are not being sent. they are getting queued up in mail queue. (3 Replies)
Discussion started by: kkhan
3 Replies
8. HP-UX
Sometimes, for any reason, the UX System sends messages to /var/mail/root and/or to Error Log of the guardian.
I'll appreciating if you help me to configure so that those messages are also sent to the System Administrator's e-mail address.
Regards
Gege (1 Reply)
Discussion started by: cgege
1 Replies
9. UNIX for Dummies Questions & Answers
I have been sending an email attachment from my unix box, but keep getting an error? All though the recipient still receives the email and attachment. Will this error cause problems in the future and how to I cure it?
$ uuencode PReSvPRINTER.txt file | mailx -s "File" me@world.com
uuencode:... (1 Reply)
Discussion started by: dbrundrett
1 Replies
10. 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