Hi guys. Does anyone know of a good PHP class available for retrieving and sending IMAP emails using the IMAP functions? I've looked around on PHP Classes and Google Code but all the classes I've found don't support sending emails, only retrieving.
The following wrapper class for the IMAP function looks promising, but again it doesn't support the sending of emails via the IMAP account: http://www.phpkode.com/source/s/php-5-imap-script/Imap.class.php
Well that's what IMAP is, taken from wikipedia.org:
Internet message access protocol (IMAP) is one of the two most prevalent Internet standard protocols for e-mail retrieval, the other being the Post Office Protocol (POP).
To send you would use SMTP
Okay, that makes sense. I was just trying to figure out how to have emails sent appear in the "Sent" mailbox, and I incorrectly assumed that it might have something to do with the imap_mail function. I believe now that it is possible using the imap_append function instead, after sending the email via SMTP.