in reply to Re^6: MIME::Lite and Multipart
in thread MIME::Lite and Multipart

Don't forget to play a bit with your 2nd scrap and my diff against it. Have a look at the output of Data::Dumper, esp. the parts of the data structure containing the mime sub-parts and the effects on those when you move the "active" ...add(Type=>...) statement around.

That way you see the sudden appearance of the excess mime part with it's undef'd Data and the subsequent abort of send(). Dumper is a worthwile addition to your bag-of-tricks.

cu
Peter