Sendmail - bulk email

I have a flat ascii file where each line contains an email address.  I also have a bash script that will read 1 line at a time and issue a command for sending out an email.
The email to be sent will all be the same email, just to different address (Christmas Greeting Card).  I want to attach a small image file as well as a small text message in the body of the email.
How can I build this email file and how can I send it in batch mode.
I've tried building the email in Outlook Express and saving it to a file, then using mail < emailfile.txt - but I get the entire email message in the body, the image file and all is still encoded etc..
Any Ideas.....
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Install majordomo!  Majordomo is a mailing list manager package and can handle this task.  In fact, your one-subscriber-address-per-line is the same format used by Majordomo, so once you configure the mailing list, you can just exchange the subscriber file with your existing file.  Check out for information on the program.  If you have a RedHat or Mandrake system, you may be able to find an RPM for majordomo from if it's not already intalled.

Then once the list is set up, you just send the email to one address - the listname - and majordomo will handle the sending to all of your subscribers.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.