PHP uses SMTP and POP3 issues

Source: Internet
Author: User
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 ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.