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
2. Shell Programming and Scripting
I am trying to send a mail from linux server but could'nt able to send the mail.
I tried the below syntax's so far but no luck.
mail -s “Hello world” firstname.lastname@example.org < /usr/g/txt.log
cat "txt.log" | mailx -s "Hello world" email@example.com
mailx -s “Hello world” firstname.lastname@example.org <... (2 Replies)
Discussion started by: scriptscript
3. UNIX for Dummies Questions & Answers
I have a unix server on which mailx is configured . Earlier i was getting proper mails but now some mails are getting stuck and i am not receiving the emails from the server.
I can see the mails in mailq.
Can you please help me with this . How can i receive these emails? (2 Replies)
Discussion started by: pratikm23
4. Shell Programming and Scripting
How to embed a html file as subject in a mail sending from Linux box with uuencode or mailx or any other way?
we do not want the file as attachment, it should be embedded in the mail subject. (2 Replies)
Discussion started by: johnveslin
5. Shell Programming and Scripting
OS:Red Hat Linux 4 86x64
Below is my shell script which is not sending mail to the mail recipient:
sqlplus / as sysdba @perf_report.sql
cat <path_to_the_script/*MONTHLY*REPORT*.lst... (6 Replies)
Discussion started by: a1_win
6. Shell Programming and Scripting
i need to send emails to the mail ids i receive using the sql query .
L.RESOURCE_MSISDN,LM.ADDRESS,LM.NAME FROM LANDMARK_ALARM_CONF l, LANDMARK lm
WHERE L.LANDMARK_ID=LM.LANDMARK_ID AND... (0 Replies)
Discussion started by: aemunathan
7. Shell Programming and Scripting
i am trying to send a mail from perl using mailx.
the script runs fine if i hard code the file path which is to be attached to the mail. but when i give a variable containing the path of the file , perl is not able to send the file.
system('uuencode /attach/test.txt... (3 Replies)
Discussion started by: adityamahi
8. UNIX for Dummies Questions & Answers
Please help me regarding sending mails using mailx command in unix.
I will be glad if some one give me the sintax of this. I tried using the below but vain.
mailx -s 'Hi' 'email@example.com'
Manas (5 Replies)
Discussion started by: manas6
9. Shell Programming and Scripting
while trying to send a mail, though the output file doesn't contain any exclamatory mark(!), i am getting that in the mail with an extra line. please help me out from this ASAP. (3 Replies)
Discussion started by: pvamsikr
10. Shell Programming and Scripting
I have tried to sent a mail with body and attachment. But the shell script got hanging while executing that command. The command is
"(cat body;uuencode att1.csv)|mailx -s "Production Monitoring Report(Unix Side)" firstname.lastname@example.org"
where body is a file having a single line.... (2 Replies)
Discussion started by: miltony