YaWK includes a seamless integrated webmail. This means you can handle all emails of your website without leaving the backend. The seamless integration into the backend will help you with your daily work.
This class features all the basic webmail functions that are required to build the desired views. It also acts as wrapper for the imap client and serve some low-level API methods to move, purge, delete emails and more.
Beside this, this class serves methods to list folders and email headers / messages
Copyright: 2019 Daniel Retzl http://www.yawk.io
Author: Daniel Retzl email@example.com
Since: File available since Release 1.0.0
Annotation: Integrated IMAP Webmail
Located at system/classes/webmail.php
Move a message from source to target folder. Requires imap handle, source folder, target folder and the mail UID to move.
Delete a message. Requires imap handle, folder and uid of the mail to delete
Cleanup trash and spam folder (delete all messages in requested folder)
Draw mailbox control buttons (trash, reply, forward...)
Draw a list with all folders of this mailbox
Draw email headers (will be used to overview the email list)
public $connectionInfo : string
information about the connection