assuming that sendmail -t $tmp does work to send email. I do not see where the $uid variable gets used to address email. Oh well.
bash or ksh example using your code fragment:
This sends 15 at one pass. You may have exceeded resource limits trying to send hundreds of emails at one time. I agree with corona -sometimes we have requirements that are there for a really poor reasons. Why is there a major time constraint on this job? Or are you simply learning how to do this?
Last edited by jim mcnamara; 10-01-2012 at 11:32 PM..
This User Gave Thanks to jim mcnamara For This Post:
Hi..
I am using HP UX 11.0
i want to make automated back up from SAM back up tool....
so i mentioned the file systems and back up device /dev/rmt/0m and time 0:00 and days of the week........
but it was not successful.....the back up job was not started on specified time.....
i am in... (7 Replies)
What is the difference betweeen MAILX and SENDMAIL. I have SENDMAIL configured in my system, how is it different then MAILX, espicially in the syntax of sending mail from the command line.
Thanks in advance (3 Replies)
Hi all,
I am using a Solaris 10 machine as SMTP server. All MAILER-DAEMON mails that are not delivered are getting stuck in /var/spool/mqueue .
Is there any way to DISCARD/DROP/DELETE such mails automatically so that they don't pile up in my queue ?
regards (1 Reply)