This question has been asked many time before. I did search other questions. But was not able to work out.
Really sorry for repeating the same question.
I have mail and mailx and sendmail installed.
It Tried this
uuencode FILENAME.txt FILENAME.txt | mail
mymail@yahoo.com
the attachment file is a text file. But i want to send it as attachment and not as a body of email.
when i get mail on yahoo.com, i get junk characters and not the actual file. also it is not sending as attachment. the junk comes as a part of email body.
I am sending mail from AIX machine..