Send mail with attachments automatically in a interval period

hai everyone

          I want to send mail with attachments automatically

for every 15 minutes getting different E-mail IDs from a file

if any script is available , Please send to me ..

This will be very useful for my project....

Thanks for your time.....

Felix

email address removed

Felix,

Please don't take my response as rude, but you really should take the time to at least try working through your own script (especially one so simple). The purpose of the forums is not to "do the work for you", but to educate.

That being said, you could handle your time interval through the cron facility. As for sending email, As simple while loop could read the file:

#!/usr/bin/ksh

while read someemail
do
mail.....(insert code here)
done < /tmp/path/to/file

Cheers,

Keith

Dear all,

          I am new to this Unix shell script,,

          Previously I am in Application side handling quite a hand 

of Projects and now out of my own INTEREST, I have come to

learn some SCRIPTS....where I can learn the core of a system.

So please, give some technical support regarding

To send mail with attachments for a period of intervals.
automatically reading the E-Mail IDs from a file.

thanks for your time,

with regards,

  Felix

please do a search.
how to send email automaticly has been answered a dozen times.

as far as reading the names from a file you can use a for loop.

please understand. we are not technical support. we are a collection of professionals and enthusests (sp).

if you are trying to learn about it. the best place to start is your local bookstore. you can check our faq on which books might be a good place to start.