http://www.perlmonks.org?node_id=828735


in reply to send mail with inline/attachment

On a side note, I'd highly recommend checking the MIME type using File::MMagic, or similar, prior to sending it. Just because a file has a ".jpg" extension, doesn't actually guarantee that it is one.

Just a thought.

Jason L. Froebe

Blog, Tech Blog