system("uuencode ${logfile} ${logfile} | mailx -s ${subject} -r ${rec +ipient1}");
Your $subject contains whitespace. Think about how that's going to affect the mailx command. Why not use a module instead of the shelling-out kludge?
if ($userid = $user1){
That's an assignment rather than a test of equality. Also you haven't declared @email so probably the receipient address is wrong too. Time to read the Basic Debugging Checklist maybe?
In reply to Re: Trouble emailing zip file
by hippo
in thread Trouble emailing zip file
by TonyNY
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |