简体   繁体   中英

what is the difference between the php imap extension and one of the mail classes?

I need my application to send and receive emails on certain events. I think I would like to use a mail server also to implement an in-application mailing ability, like the ability to send/receive/delete messages in applications like linkedin.
What would be a good tool, a PHP mailing class, the imap extension, or are they not covering the same responsibility and they actually complement each other, and I should use both?

They complement each other. Mailing classes send out; IMAP functions are there to read a IMAP Mailbox (IMAP can also send, but for any bulk mailing concerns, a full-blown mailer class is the better idea).

If you want to create an application with an interface, you may want to check out existing PHP Webmail applications (see here for a good list: 10 AJAX-based & PHP WebMail Clients For a Great User Experience ) to gain insights from, or build on.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM