http://qs1969.pair.com?node_id=176051


in reply to MIME::Lite, DBI LONGRAW's & newlines

I'm pretty sure that zakb has the right idea.

What does look odd though is: Data    => qq{ $body } Which just adds a space to the beginning and end of $body. I'm guessing that you don't want to do this and should just remove the qq{}.

You might also look at HTML::FromText or HTML::TextToHTML.

gav^

Replies are listed 'Best First'.
Re: Re: MIME::Lite, DBI LONGRAW's & newlines
by Anonymous Monk on Jun 21, 2002 at 08:56 UTC
    Hi, I solved it by replacing 'text/html' with 'text' for the MIME::Lite invocation as follow: Type => 'text'