[sf-perl] Mime::Lite question

Richard Reina gatorreina at gmail.com
Fri Apr 8 09:41:32 PDT 2011


That example worked like a charm.  Sorry I missed it.

Thanks very much.

2011/4/8 Miller Hall <miller.hall at gmail.com>

> 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20110408/916d7367/attachment.html>


More information about the SanFrancisco-pm mailing list