* @param string $username The username
* @param string $password The password
* @return object
+ * @throws \Exception
*/
public static function connect($mailbox, $username, $password)
{
* @param object $mbox mailbox
* @param string $email_addr email
* @return array
+ * @throws \Exception
*/
public static function poll($mbox, $email_addr)
{
* @param integer $uid user id
* @param string $reply reply
* @return array
+ * @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
public static function getMessage($mbox, $uid, $reply)
{
*
* @return void
*
+ * @throws \Friendica\Network\HTTPException\InternalServerErrorException
+ * @throws \ImagickException
* @todo This could be changed to use the Emailer class
*/
public static function send($addr, $subject, $headers, $item)