1
XMPP protocol
Question asked by Sabatino - 7/14/2022 at 2:34 AM
Answered
I have already discussed this problem via ticket, but the answer did not convince me.

If you use the XMPP protocol from a client (e.g. emclient) the chat messages are not synchronized with the webmail

If you enter the webmail you will not find the messages but only the date and time of the user who sent them.

They told me that the history is not the responsibility of the client, but this thing honestly convinced me a little. With other servers I have not encountered the same behavior.

For example, imagine having an open chat with a collaborator (from client). At some point he goes offline but you send a message anyway. traces of this message are totally lost
Sabatino Traini
      Chief Information Officer
Genial s.r.l. 
Martinsicuro - Italy

2 Replies

Reply to Thread
1
Andrea Free Replied
Employee Post Marked As Answer
Hello Sabatino, 

I see you had a ticket a couple months ago, and we escalated this issue to the development team for their review. The update we received was that the chat history is the responsibility of the client, and not handled by SmarterMail. However, I would like to apologize for the misunderstanding, as we recently learned that SmarterMail does have an issue with the handling of the chat history.  

When using XMPP, the client and server communicate using XML. When a message is sent, most clients just send the message content as plain text, requiring special characters to be XML encoded. In recent weeks, however, we became aware that there are some clients that choose to wrap the message body as CDATA, which allows them to skip the XML encoding. Unfortunately, the code in our current release doesn't properly read the CDATA, so it ends up just logging the time and sender of the message without the message body. 

We are working to correct this issue in a future build. I will reopen your support ticket so we can provide you an update when that fix is available. 
Andrea Free SmarterTools Inc. 877-357-6278 www.smartertools.com
0
Sabatino Replied
thank you
Sabatino Traini Chief Information Officer Genial s.r.l. Martinsicuro - Italy

Reply to Thread