note
bassplayer
<p>I think [cpan://MIME::Lite] can do what you are asking. Check the docs [http://search.cpan.org/~rjbs/MIME-Lite-3.020/lib/MIME/Lite.pm#Send_an_HTML_document..._with_images_included!|here].</p>
<p>The basic code (taken straight from that page) is:</p>
<code>
$msg = MIME::Lite->new(
To =>'you@yourhost.com',
Subject =>'HTML with in-line images!',
Type =>'multipart/related'
);
$msg->attach(
Type => 'text/html',
Data => qq{
<body>
Here's <i>my</i> image:
<img src="cid:myimage.gif">
</body>
},
);
$msg->attach(
Type => 'image/gif',
Id => 'myimage.gif',
Path => '/path/to/somefile.gif',
);
$msg->send();
</code>
Though you might not need the image parts.
<div class="pmsig"><div class="pmsig-149104">
<p>
bassplayer
</div></div>
651205
651205