I succesfully tested sending a mail with a tar file created by both my native tar binary and Archive::Tar. Both mails were received, and untarring the file on the other end worked fine.
The only failure I encountered was when I did not add any files to the newfile.tar. A file created with this:
Yielded the following when reading the file with tar -tf:perl -MArchive::Tar -e '$t = Archive::Tar->new(); $t->write("newfile.t +ar")'
These tests were performed on OpenBSD 3.5, perl 5.8.2, Archive::Tar 1.10, MIME::Lite 3.01. Mails were read with mutt and gmail.tar: Cannot identify format. Searching... tar: End of archive volume 1 reached tar: Sorry, unable to determine archive format.
In reply to Re: Problem in sending "tar" files as attachment using MIME::Lite module
by imp
in thread Problem in sending "tar" files as attachment using MIME::Lite module
by santhi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |