Maybe someone saw a "do it yourself" on the topic of a mini-mail service? Receive, send, spam folder - nothing else is needed. How to implement this on PHP? At least references please share, I will be very grateful (:
1 answer
If for any reason you want to implement this functionality yourself, then start by installing sendmail on the server and the php script that will send email through standard php functions.
If you want to install something ready "out of the box", then it makes sense to hook up Google with php e-mail service requests, php email framework , php cms email module , etc.
I note that there is an intermediate option - all modern php frameworks like CodeIgniter , Symfony , etc. provide a set of more or less convenient means for working with e-mail, and it will probably be easier to deal with them than writing everything yourself (like I suggested in the very first version).
Another thing is that in this case the task will require "trials" with the internal structure and ideology of the framework used, which, maybe, is not included in your plans :)
PS
I now thought that, for example, if you have absolutely no idea how the spam filter works and what algorithms are used to filter this spam, then you should probably forget about the full version number 1. In this case, it is better to use the second or third method.