scheduler Script
Hi,
My requirement is i want to send mails from server to all my employess with one attachment file for every monday and friday like scheduler.. how it is possible through bash script. please guide me.. |
http://www.zedwood.com/article/103/b...-an-attachment
Then use cron to schedule execution of the script. |
Hi zordrak,
Mail is not a prob but...i need to send same attachment to N number of mail ids for example if i have 3 mail ids means 07anis@gamil.com anish@gamil.com kumar@gmail.com at the same time i need to send mail from server to this 3 mail ids. i think using script we can do that.. like we need to assign all the mail ids store into one file form that we need to get input..that code only i am searching how to do that process...if you have any idea means please share.. |
Hi Anish,
You can put all emailIDs in a file say email.txt and use this code Code:
for i in `cat email.txt`; |
Hi vikas
Code:
#!/bin/bash Quote:
|
Quote:
Post what errors you are getting and output of below command which mutt |
Code:
#!/bin/bash Thanks for your Reply Its Working fine now!!! |
Hi Anish,
Glad you made it. Please mark this thread as solved. |
All times are GMT -5. The time now is 10:10 PM. |