Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

uuencode and compress

Status
Not open for further replies.

Ambatim

Programmer
Feb 28, 2002
110
IN
I am compressing a file using compress command and sending the compressed file as an attachment using mailx

compress file1
uuencode file1.Z file1.Z > mailfile
mailx -N -s "Some Subject" some@some.com < mailfile

This works fine when the size of the file1 is small. But it fails if the size of file1 is more than 20 MB.

Is there any restriction on uuencode or mailx, with regard to size ?
Is there any other way, to achieve this?

UNIX: IBM AIX Version 5
Mail Client: Lotus Notes 6.5



Thanks in advance
Mallik
 
In what way does it fail?

If it's being bounced by some.com, maybe they have a 20 MB limit on incoming mail size.

If not, using the perl Mail::Sender module to send the file as an attachment would be one solution.


Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top