tomail()
{
sleep 3
echo "helo zhangbin"
sleep 2
echo "mail from:zhangbin@ultrapower.com.cn"
sleep 2
echo "rcpt to:zhangbin@ultrapower.com.cn"
sleep 2
echo "data"
sleep 2
echo "this is test context!\n"
echo ".\n"
sleep 5
echo "quit\n"
echo ""
}
tomail | telnet 219.238.168.131 25