You probably need an external server that manages sending the messages.
I would say you might wanna search for general chat server/client applications and then connect them with C++.
There is probably no easy Blueprint way, at least not without plugins.