[sf-perl] Mime::Lite question
Miller Hall
miller.hall at gmail.com
Fri Apr 8 09:31:49 PDT 2011
The MIME::Lite documentation has an example for specifically that:
http://search.cpan.org/~rjbs/MIME-Lite-3.027/lib/MIME/Lite.pm#Send_an_HTML_document..._with_images_included!
Haven't ever tried it though. If it doesn't work, then including
images that are referenced as http:// is the other way to do that.
- Miller
2011/4/8 Richard Reina <gatorreina at gmail.com>:
> I am trying to send an email with an image in the signature but when I do
> the image does not show up. Can anyone tell me what I am doing wrong?
>
> # create a new MIME Lite based email
> my $msg = MIME::Lite->new
> (
> Subject => "HTML email test",
> From => 'richard at rushlogistics.com',
> To => $email,
> Type => 'text/html',
> Data => '<img src="/home/richard/gator_head.gif" alt="Image should be
> here."/>
> Please visit our site <a href="http://savethegators.org/">online</a><hr>'
> );
>
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>
>
More information about the SanFrancisco-pm
mailing list