Hi,
I have a problem in sending mail ......
#!/usr/bin/perl -w
$file_length = `cat file.txt | wc -l`;
if ( $file_length == 0) {} else {
`mail -s "Tool" <mymailid> < file.txt`;
}
Eventhough i have used `uuencode Mailfile$App_Server$line | mail <mymailid>`; i cannot able to send mail ........
But when i use the same command in command prompt the the mail is properly going.............. Can anybody solve this problem quickly........
The file.txt contains......................
05: 12:13.657436 Successfully
05: 12:14.804987 Successfully
05: 12:19.143323 Successfully