|
#!/usr/bin/perl -w
my $msg = MIME::Lite->new( From => "me" ,
To => "you" ,
Subject => "hello" ,
Type => "multipart/mixed" );
my $part = $msg ->attach( Type => "text/plain" ,
Path => "/home/eryq/.cshrc" ,
Encoding => '7bit' );
$msg ->scrub;
$msg -> print ;
|