Sponsored Content
Top Forums Shell Programming and Scripting mailx -s not sending the file to mail address Post 302423589 by panyam on Friday 21st of May 2010 11:08:10 AM
Old 05-21-2010
Please use code tags to format the post.


Are you getting any error while running the script?

if no is answer to the above question , then check your system mail box using "mail" command to see , whether there are any failures.
 

10 More Discussions You Might Find Interesting

1. HP-UX

Sending Error msg from HP-UX to E-mail address

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

2. Shell Programming and Scripting

sending mail through mailx

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

3. Shell Programming and Scripting

how to know if the mailx command really sends the mail to the email address?

Hi guys, I have a question about the returning message of the mailx command. if I run a mailx command, how can I know if the email has been sent to the email address? If the email address doesn't exist, is there any error message returned? If yes, how can I get the error message? Thanks... (3 Replies)
Discussion started by: sheenshine
3 Replies

4. UNIX for Dummies Questions & Answers

sending mail using mailx command

Hi All, 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' 'xyz@abc.com' Regards, Manas (5 Replies)
Discussion started by: manas6
5 Replies

5. Shell Programming and Scripting

sending mail from perl using mailx

hi All, 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. ex: system('uuencode /attach/test.txt... (3 Replies)
Discussion started by: adityamahi
3 Replies

6. Shell Programming and Scripting

sending mail using Mailx with data from oracle table

Hi, i need to send emails to the mail ids i receive using the sql query . SELECT L.ALARM_DEF,L.CRITERIA,L.DISTANCE_METRE,L.EMAIL,L.LAC_ID,L.LAST_CHECK,L.RANGE, 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
0 Replies

7. Shell Programming and Scripting

sending mail through mailx command

Hi I need help to send mail through mailx command . Currenlt my program is like #!/bin/ksh -x echo " " >> path.lst MAIL_LIST='someone1@gamil.com someone2@gamil.com someone3@gamil.com' cat path.lst | mailx -s "path loaction" $MAIL_LIST echo "End" exit 0 Its work fine . But i... (3 Replies)
Discussion started by: mani_isha
3 Replies

8. Shell Programming and Scripting

How to embed a html file in a mail sending from Linux box with uuencode or mailx?

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
2 Replies

9. UNIX for Dummies Questions & Answers

Mailx working but not sending mail

Hi All, 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
2 Replies

10. Red Hat

Problems sending mail: Difference between Mail and Mailx?

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
conflict(8)						      System Manager's Manual						       conflict(8)

NAME
conflict - search for alias/password conflicts SYNOPSIS
/usr/lib/mh/conflict [-help] [-mail name] [-search directory] [aliasfiles...] OPTIONS
Prints a list of the valid options to this command. Mails the results to the specified name. Otherwise, the results are sent to the stan- dard output. Searches directories other than /usr/spool/mail, and reports anomalies in those directories. The -search switch can appear more than once in an invocation to conflict, with different directories named. DESCRIPTION
The conflict program checks to see if the interface between MH and transport system is in good shape. It also checks for maildrops in /usr/spool/mail which do not belong to a valid user. It assumes that no user name will start with a dot (.) and thus ignores files in /usr/spool/mail which begin with a dot. The conflict program checks the entries in the specified alias files. It parses the entries in the same way that post would, and outputs any errors which it finds. The program can be used to check the entries in a user's personal alias file, or in the system alias file, /usr/lib/mh/MailAliases. If no alias file is specified, conflict checks the system alias file. The conflict program also checks the /etc/group file for entries which do not belong to a valid user, and for users who do not have a valid group number. In addition, duplicate users and groups are noted. The conflict program should be run under cron, or whenever system accounting takes place. FILES
The system customization file. The system password file. The system group file. Program used to mail results, if the -mail option is used. Directory containing users' maildrops. SEE ALSO
Commands: cron(8) Files: mh-alias(4) conflict(8)
All times are GMT -4. The time now is 11:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy