Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 contemplating the Monastery: (11)
As of 2015-07-03 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (51 votes), past polls