Hi help plz

hi .

C# Xmpp Client Winform Programming…

May I know how to configure Openfire to automatically store the chatting (message) history in the server (probably default it does ?)
and how to retrieve it using the C# ?

sample code plz.