Hi,
You're trying to attach your home directory:
$msg->attach( Type =>'application/zip', Path => $HOME, # ^^^^^^^^^^^^^^^^^ <- here you try to attach $HOME Filename =>'little.zip', Disposition => 'attachment' );
Probably you want Path to be "$HOME/little.zip"...
Hope that helps.
Greetz,
Kirill
In reply to Re: Corrupted ZIP file using MIME::Lite
by kirillm
in thread Corrupted ZIP file using MIME::Lite
by rlambert7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |