Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
SQL
I am developing chat application using openfire server and xmpp protocol with agsXMPP SDK and asp.net, i have done login process and get all registered user into list successfully, i have OnMessage method to send message but i do not know that where to call this method.

I do not want to use MatriX XMPP SDK because it is paid. i am able to send message but not able to retrieve message, below code i am using for retrieve messages but is not working and where to call this method



C#
private void xmppClient_OnMessage(object sender, MailMessageEventArgs e)

    {
        Response.Write(string.Format("OnMessage from {0}", e.Message.From));
        Response.Write(string.Format("Body {0}", e.Message.Body));

    }
please help me
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900