If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I have a MS Word file with information about some people. I want to retrieve their email ids from this information and send them emails with a pre defined message. This has to be done using Unix Shell Scripting. Now this entire system has to be automated as in after every 24 hours this process should happen automatically.
I need this urgently. Please help!!!!
Step 1: move the data from the word doc into a format unix can handle (like tab seperated text)
Step 2: give us an idea of the layout of the files so we have some idea on what data etc you want to work with...
Originally posted by TimoV
Step 1: move the data from the word doc into a format unix can handle (like tab seperated text)
Step 2: give us an idea of the layout of the files so we have some idea on what data etc you want to work with...
I have retrieved the email ids from the word file.
Now I want to send emails to these ids. I was thinkin gof using mailx. Is it right ?
#email.sh
================================
read eid
while
do
cat msg_file | mailx -s "subject_of_email" ${eid}
done < file_with_email_id
================================
// if works then put this script in cron.
for syntax and more info, see 'man cron'
Originally posted by skd
#email.sh
================================
read eid
while
do
cat msg_file | mailx -s "subject_of_email" ${eid}
done < file_with_email_id
================================
// if works then put this script in cron.
for syntax and more info, see 'man cron'