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 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” abc@xyz.com < /usr/g/txt.log
cat "txt.log" | mailx -s "Hello world" abc@xyz.com
mailx -s “Hello world” abc@xyz.com <... (2 Replies)
Discussion started by: scriptscript
2 Replies
3. Solaris
Hi ,
I'm trying to send a mail from a sunOS machine that is within hp network to my email: eman.el-badawy@hp.com ,the user trying to send
is 'project',,but seems the mail address can not be resolved
checking /var/log/syslog i got the following:
Dec 25 14:34:02 svddev15 sendmail: ... (1 Reply)
Discussion started by: Eman_in_forum
1 Replies
4. Shell Programming and Scripting
Hi All,
I am using mailx to send the mail. Due to some changes in the requirement, I need to send the mail to CC only (an Email id in CC), with no email ID in "TO" field. Can we do that? bcz I used -c flag only and got the message:":The flags you gave make no sense since you're not sending... (2 Replies)
Discussion started by: unankix
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I sending mail like this:
mailx -s "test" -r "from@me.com" to@you.com
and I have update the /etc/mail/sendmail.cf with:
DSsmtp-relay-nx-vip.xxx.yyy.com (this path is working on the old server)
But all I mail goes to queue.
What do I miss here?
Regards
Mehrdad (1 Reply)
Discussion started by: mehrdad68
1 Replies
6. 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
3 Replies
7. UNIX for Advanced & Expert Users
Hi ,
I am using mailx command for sending the mails. Rightnow I am sending the attachment (by using uuencode $filename) as a seperate mail.I wanna send the attachment also with the same mail. (6 Replies)
Discussion started by: sharif
6 Replies
8. Shell Programming and Scripting
Hi , ?im a newbie using shell scripts.
Is there any way to write a script that will delete all mails from my mailbox using mail or mailx command
Thanks for your time
E. Festas (2 Replies)
Discussion started by: ninjanesto
2 Replies
9. Shell Programming and Scripting
Hi..
How can i use mailx,mail command in Shell Script.
Suppose i gave a condition that x value is above 25 send a mail alert to abc@rediffmail.com.
How can i do this?
Regards
Sollin (16 Replies)
Discussion started by: sollin
16 Replies
10. UNIX for Dummies Questions & Answers
Dear All,
I am using HP-UNIX. I want to specify host in mailx command line.
A -> B
I am in Server A. And run a mailx command line to send mail to abc@xyz.com. But Server A don't know where xyz.com is.
It needs to send this mail to Server B to help him to send mail to... (1 Reply)
Discussion started by: wilsonchan1000
1 Replies