how to send a file from aix to a email address? such as xxx@yahoo.com?
Is that you want to send a file through mail to xxx@yahoo.com?
if so
To send the file as attachment
#uuencode <source file name> <file name> | mail -s <subject> xxx@yahoo.com
or to simply send the mail with the content of file as the body of mail
#cat <file name> | mais -s <subject> xxx@yahoo.com
Here is a link to the mail command you might find helpfull
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds5/sendmail.htm