Best practices for implementing an in-app mail / inbox system

I need to implement a message system in the application (for example, in any forum / social network).
The number of users in tens of thousands and above.
I am going to do this using the actual mail server and write a client for it inside the application (or just select an open source client and configure it as a private messaging system).
Or
Should I just do this as an integral part of my application (DB, server side and all)?

Which approach is right? (I do not think this is a consideration, but the main part of the application is written in PHP).

+3
source share
1 answer

Use the feedback of your application.

Email (SMTP / IMAP) sounds simple, but has too much administrative and software overhead if you do it right - or you get occasional problems.

If you need to send emails to your users (which you do not need - I really like how Stackoverflow works, for example, in this regard), but just be an email client (SMTP).

Another problem with e-mail is the old protocol, which does not fit into today's needs. Therefore, we have new protocols and applications, such as XMPP and Google Wave .

+2
source

Source: https://habr.com/ru/post/1728923/


All Articles