Help for this page

Select Code to Download


  1. or download this
    qwurx [shmem] ~> perl -MMIME::Lite -le '$m=MIME::Lite->new(Data=>"foo"
    +);$m->print'
    Content-Disposition: inline
    ...
    
    
    foo
    
  2. or download this
    qwurx [shmem] ~> perl -MMIME::Lite -le '$m=MIME::Lite->new;$m->build(f
    +rom => "me", to =>"you", Data => "kisses"); $m->print'
    Content-Disposition: inline
    ...
    
    
    kisses
    
  3. or download this
    use MIME::Lite;
    
    ...
    
    this is an attachment
    --_----------=_150137533476690--
    
  4. or download this
    $msg->attach(
        Type    => 'text/plain',
        Data    => 'This is the body text of the email',
    );