Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • MIME::Lite!

    I love it:

    my $msg=MIME::Lite->new(
      From => $hr->{'email'},
      To => ADMINISTRATOR_EMAIL,
      Subject => "New Applicant",
      Type => 'TEXT',
      Data => "The application for $hr->{'name'} is attached to this email message in HTML format.\nOpen it in your web browser to view or print.",
    );
           
    $msg->attach(
      Type => "text/html",
      Data => $app,
      Disposition => 'attachment',
      Filename =>'ap