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 Folks,
I have few mailids in a text file and need to check whether the mailid is in correct format or not.
If just to check whether the string is a mailid or not there is a perl module Email::Valid to do the business or we can implement our own logic.
But the mail_ids I am having is... (4 Replies)
Discussion started by: giridhar276
4 Replies
5. UNIX for Dummies Questions & Answers
I wanted to send email to list of people using mailx in unix. I am getting the emailds from a oracle table and getting the ids in a variable. Shell script is shown below:
-----------------------------------------------------------------------
filename=testdata921 export filename... (5 Replies)
Discussion started by: sasi02
5 Replies
6. Shell Programming and Scripting
I have a list of mail ids in text file and want a ksh script that reads this text file and sends a mail to all mail ids with same subject line and content.
I am using UX-HP machine and KSH.
Thanks for help in advance! (5 Replies)
Discussion started by: Sriranga
5 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. UNIX for Advanced & Expert Users
Hi
i am looking for the script which can send file to different mailids, please halp me out.
Thanks in advance. (3 Replies)
Discussion started by: vpandey
3 Replies
9. UNIX for Dummies Questions & Answers
I have used the forum to determine the format required to send attachments from hp-ux 11. the problem I have is that using mailx does not attach the file, but subsititing mailx for mail on the command line attaches the file but i'm not able to specify a subject?
The attachment has been convert... (3 Replies)
Discussion started by: brettmartin99
3 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