> For 3), When cm1 comes up and there is not tm1, the server sends out the stanza error message. However, if tm1 is online, and then goes offline, no error messages are sent.
I'm still curious about how many times the server responds with the error while tm1 is initially offline. For every message sent, or just the very first one?
> - Does this mean, this stanza error message can be ignored? Since the message will be delivered?
Yes, because the server is marking the error with type="continue" in this case, and as long as you have offline message delivery enabled.
> - When tm1 comes up, does it inform the server that the custom stanza is supported and accepted? Does sleekxmpp library do something along these lines?
The server shouldn't need to care. But, Sleek does support it through service discovery and entity caps (XEP-0030/XEP-0115) if you advertise a feature for your custom stanza.