mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 07:57:02 +03:00
Add _FORCE_SELECT_ON_EXAMINE__ property to IMAP client class
This commit is contained in:
parent
efb9db36d2
commit
4a153a59c1
4 changed files with 21 additions and 3 deletions
|
|
@ -37,6 +37,14 @@ class MailClient
|
|||
return new self();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \MailSo\Imap\ImapClient
|
||||
*/
|
||||
public function ImapClient()
|
||||
{
|
||||
return $this->oImapClient;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sServerName
|
||||
* @param int $iPort = 143
|
||||
|
|
@ -141,10 +149,10 @@ class MailClient
|
|||
*/
|
||||
private function getEnvelopeOrHeadersRequestString()
|
||||
{
|
||||
// return \MailSo\Imap\Enumerations\FetchType::ENVELOPE;
|
||||
|
||||
return \MailSo\Imap\Enumerations\FetchType::BODY_HEADER_PEEK;
|
||||
|
||||
// return \MailSo\Imap\Enumerations\FetchType::ENVELOPE;
|
||||
|
||||
return \MailSo\Imap\Enumerations\FetchType::BuildBodyCustomHeaderRequest(array(
|
||||
\MailSo\Mime\Enumerations\Header::RETURN_PATH,
|
||||
\MailSo\Mime\Enumerations\Header::RECEIVED,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue