interfacing gsm modem wit 89c52 microcontroller

i'm able to send message using gsm modem with hyperterminal but when using with microcontroller 89c52 the message is not being sent to receivers mobile ...can u please tell about the connections.
my components are
89C52---->max232---->db9 connector

More questions in this forum