Connect as ICQ/AIM user with IM Gateway

Hi Folks,

I’m new to the IM Gateway so please bear with me. Want i want to do is use the Smack API to send messages to ICQ users. I understand that i need to install the IM Gateway for this and i’ve just done jus that.

Let say i have an ICQ friend (Paul) with ID: 432237676. And my ICQ number is 456783121. What exactly do i need to do such that when i send a message to Paul that he effectively sees that the message is coming from me; from my ICQ account.

i would highly appreciate if you could point me to some sample code.

Thanks,

Max.