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 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
3. 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
4. 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
5. Shell Programming and Scripting
Hi All,
OS:Red Hat Linux 4 86x64
Below is my shell script which is not sending mail to the mail recipient:
#!/bin/bash
export MAILLIST="xyz@yahoo.com"
cd <path_to_the_script_perf_report.sql>
sqlplus / as sysdba @perf_report.sql
if
then
cat <path_to_the_script/*MONTHLY*REPORT*.lst... (6 Replies)
Discussion started by: a1_win
6 Replies
6. Shell Programming and Scripting
Hello,
I am new to perl and need to create a script that will read a file and pull a name from the file and send e-mail.
How can I use the following awk statement in a perl script?
grep UNIXadmins /root/mail.conf | awk '{ print $2}'
and use the output to send a e-mail.
Any help would... (1 Reply)
Discussion started by: DC Heard
1 Replies
7. Shell Programming and Scripting
help i get this error when i sending a mail
send-mail: fatal: open /etc/postfix/main.cf: No such file or directory
Can't send mail: sendmail process failed
this is my coding
echo "$PRONAME is being restart" | mailxs "Subject:Process" "sally@$THISHOST"
i wish to send this mail to my... (2 Replies)
Discussion started by: kkc
2 Replies
8. HP-UX
Dear Brothers in Unix
I would like to change some HP-UX settings in order that the system send a message to root it should be copied to my e-mail address in Microsoft Exchange Server.
Please can you help me.
Best Regards and thanks in advance
Gege (2 Replies)
Discussion started by: cgege
2 Replies
9. Shell Programming and Scripting
i am creating a script that will send an email to a list of recepients listed in a file.
if for some reason the mail was undelivered, is it possible to redirect the "undelivered email notification" to another email address?
thanks! (0 Replies)
Discussion started by: tads98
0 Replies
10. 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