Not logged in. · Lost password · Register
Forum: agsXMPP RSS
mohini #1
Member since May 2017 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: Web application using agsxmpp
I am developing chat application using openfire server and xmpp protocol with agsXMPP SDK and mvc, i have done login process.
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

  1. private void xmppClient_OnMessage(object sender, MailMessageEventArgs e)
  2. {
  3.     Response.Write(string.Format("OnMessage from {0}", e.Message.From));
  4.     Response.Write(string.Format("Body {0}", e.Message.Body)); 
  5. }
please help me
This post was edited on 2017-06-01, 17:41 by Alex.
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Please read this post:…

and study this example:…

When you don"t want to use MatriX then port this code to agsXMPP. The concepts are the same.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS