Email picture attachments as inline along with the email body

view story

http://unix.stackexchange.com – I'm right now working with a script for emailing attachment (.png pics). Since I'm using mutt command with -a option, the email is sent as a mail attachment. I want these .png pictures to be mailed inline with the mail body. How can I implement this with a bash script? I had also tried with the mail command and the result was the same. Also I would like to have any ideas on this if it can be done with a Perl script. (HowTos)