How does the persistent connection gets established between message queue and the user?

I didn’t quite understand how does the step 4 happens from message queue. If it is sending a mail to the friend using their email address and over SMTP?

Type your question above this line.


@Lekha Real-time notifications are sent to the app’s client as opposed to being emailed to the user. The persistent connection is established between the app server and the client.