Want to use PHP to implement post office functions, download hMailServer and a webmail and configure the success
When looking at the source code of webmail, we found two important classes, One is class.smtp.php, one is class.pop3.php, because the structure of the site is not very familiar (no document, although the structure seems to be very clear, but there are a lot of data cache things in it, so make me very dizzy really can't see down)
On the online search, the results found that many places have these two categories, seemingly phpmailer is more respected, and I see Phpmailer seems to only SMTP no POP3 AH
So I would like to ask, what is ready to implement SMTP and POP3 of open source resources ah?
This allows me to invoke the resources of SMTP and POP3 and to do the subsequent processing of the data myself.
Thank you.
Reply to discussion (solution)
Https://github.com/PHPMailer/PHPMailer
There's POP3.
Https://github.com/PHPMailer/PHPMailer
There's POP3.
I compare with the webmail at hand, and look at the POP3 class, understand this:
1, Phpmailer own POP3 itself just provides POP3 connection, authentication, send and retrieve data, close the connection, but do not have a variety of POP3 instructions to do, the equivalent is to use sendstring to send the determined instructions, Use GetResponse to get the return data of the POP server,
2, but also for the return of EML information need to decode themselves
Don't know if this is the case?
If so, is there anything to decode EML (MIME? ) class?
Thank you.
And the POP3 of the GitHub address is 5.0, while the other xxxxforcexxxx () is 5.1 ...