The reliable communication problem in mobile agents environment hasn抰 been satisfactorily addressed in currently available systems and research. In this paper, a novel algorithm is presented on location management and reliable communication for mobile agents. In virtue of the algorithm, the messages for remote mobile agents can be trustworthily accepted. And the exactly-once semantics for message delivery is guaranteed.