in reply to Corrupted ZIP file using MIME::Lite
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Corrupted ZIP file using MIME::Lite
by rlambert7 (Acolyte) on Dec 30, 2007 at 21:01 UTC | |
by rhesa (Vicar) on Dec 30, 2007 at 21:15 UTC | |
by kirillm (Friar) on Dec 30, 2007 at 21:23 UTC | |
by rlambert7 (Acolyte) on Dec 31, 2007 at 05:05 UTC |