Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: MIME::Lite, DBI LONGRAW's & newlines

by gav^ (Curate)
on Jun 20, 2002 at 15:39 UTC ( #176051=note: print w/ replies, xml ) Need Help??


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^


Comment on Re: MIME::Lite, DBI LONGRAW's & newlines
Download Code
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'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://176051]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2014-09-19 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (145 votes), past polls