Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

MIME::Lite, DBI LONGRAW's & newlines

by Anonymous Monk
on Jun 20, 2002 at 14:48 UTC ( #176027=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $dbh->{LongReadLen} = 256 * 1024;
    ($body) = $dbh->selectrow_array("select content from $dtab where name 
    += '$name'");
     $body =~ s/\r/\n/g;
    
  2. or download this
     open (OF, ">body.txt");
      print OF $body;
     close (OF);
    
  3. or download this
     $msg = MIME::Lite->new(
                    From => $from,
    ...
    
      MIME::Lite->send('smtp', 'smtpsvr.net, Timeout=>240);
      $msg->send();
    
  4. or download this
    s/\cM/\n/
    s/\r\n/\n/
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://176027]
Approved by gav^
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2022-11-29 10:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?