[oak perl] MIME::Lite question

David Alban extasia at gmail.com
Wed Jun 1 20:14:49 PDT 2005


There was an acronym coined on one of the dc-sage lists a few years
back by Jamie Flournoy:

  NMD  (not my decision)

It's *very* useful. :-)

On 6/1/05, M. Lewis <cajun at cajuninc.com> wrote:
> NOTE: It has been pointed out to me (off-list) that most folks don't
> like HTML mail. I couldn't agree more. It's the person with the pointy
> little head that I'm sending this for who against everything I said,
> wants it done in HTML. Grrrrr...
> 
> M
> 
> M. Lewis wrote:
> > I'm trying to use MIME::Lite to send out a mailing. The mailing is an
> > HTML document ($content) with two images in it.
> >
> > The message is being sent as HTML, however the two images do not appear.
> >   I've tried adding other attachments for the two images, but that just
> > makes them appear as attachments (duh..) rather than in the HTML document.
> >
> > Obviously I have missed the boat here somewhere. Suggestions welcome.
> >
> > Thanks,
> > Mike
> >
> >
> > $msg = MIME::Lite->new(
> >      From     => "$from",
> >      To       => "$recipient",
> >      Subject  => "$subject",
> >      Date     => `date`,
> >      Type     => 'multipart/related',
> > );
> >
> > $msg->attach(Type => 'text/html',
> > Path => "$content");
> >
> 
> --
> 
>   IBM: Insulting Boorish Manner
>   21:42:01 up 7 days,  3:59,  8 users,  load average: 0.09, 0.13, 0.10
> 
>   Linux Registered User #241685  http://counter.li.org
> _______________________________________________
> Oakland mailing list
> Oakland at pm.org
> http://mail.pm.org/mailman/listinfo/oakland
> 
> 


-- 
Live in a world of your own, but always welcome visitors.


More information about the Oakland mailing list