in reply to Help with MIME::Lite

Have you tried creating a separate part for the image, and then attach it to the rest of the message? Using Thunderbird, image1 is shown whithin the message, and image2 as an attachment:
... $msg->attach( Type =>'image/gif', Path =>'/tmp/image1.gif', Disposition => 'attachment' ); my $part = MIME::Lite->new( Path => '/foo/image2.gif' ); $part->attr('Content-Type' => 'image/gif'); $msg->attach($part); ...

Replies are listed 'Best First'.
Re^2: Help with MIME::Lite
by Jugger (Initiate) on Jun 08, 2005 at 17:20 UTC
    Tried this but still the same the Content-Type was listed as...

    Content-Type: image/gif; name=image.gif

    Is there a way I can rip thru, line by line, $msg at all ??

    Thanks
    Jugger