We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The bug come when i want to retreive a message by uid to show his body content.
Some messages works, others triggers this error.
Code i use : $client = \Webklex\IMAP\Facades\Client::make([ 'host' => 'imap.xxx', 'port' => 993, 'encryption' => 'ssl', 'validate_cert' => true, 'username' => $email, 'password' => $password, 'protocol' => 'imap' ]);; try { $client->connect(); } catch (\Throwable $th) { die("Erreur de connexion Imap. Veuillez vous reconnecter sur la page de login."); }
$folder = $client->getFolderByName($folderPath); $message = $folder->query()->getMessageByUid($uid); //=> ERROR here
But when i debug, I see all content of this message, so the php_imap get this email infos without issue. ... < TAG2 OK List completed.
TAG3 SELECT "Archives/2020"
<< * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk) << * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk *)] Flags permitted. << * 1 EXISTS << * 0 RECENT << * OK [UIDVALIDITY 148355163] UIDs valid << * OK [UIDNEXT 3] Predicted next UID << TAG3 OK [READ-WRITE] Select completed (0.000 secs).
TAG4 UID FETCH 2 (FLAGS)
<< * 1 FETCH (UID 2 FLAGS (\Seen NonJunk)) << TAG4 OK Fetch completed.
TAG5 UID FETCH 2 (RFC822.HEADER)
<< * 1 FETCH (UID 2 RFC822.HEADER {1074} << Return-path:.... [...] << Date: Thu, 22 Oct 2020 07:06:25 +0200 << X-Spam-Bar: ++++ << << ) << TAG5 OK Fetch completed.
TAG6 UID FETCH 2 (RFC822.TEXT)
<< * 1 FETCH (UID 2 RFC822.TEXT {149} << test << ) << TAG6 OK Fetch completed.
Screenshots
Desktop / Server (please complete the following information):
Do you have any idea ?
Thank you;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The bug come when i want to retreive a message by uid to show his body content.
Some messages works, others triggers this error.
Code i use :
$client = \Webklex\IMAP\Facades\Client::make([
'host' => 'imap.xxx',
'port' => 993,
'encryption' => 'ssl',
'validate_cert' => true,
'username' => $email,
'password' => $password,
'protocol' => 'imap'
]);;
try {
$client->connect();
} catch (\Throwable $th) {
die("Erreur de connexion Imap. Veuillez vous reconnecter sur la page de login.");
}
But when i debug,
I see all content of this message, so the php_imap get this email infos without issue.
...
< TAG2 OK List completed.
<< * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk)
<< * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk *)] Flags permitted.
<< * 1 EXISTS
<< * 0 RECENT
<< * OK [UIDVALIDITY 148355163] UIDs valid
<< * OK [UIDNEXT 3] Predicted next UID
<< TAG3 OK [READ-WRITE] Select completed (0.000 secs).
<< * 1 FETCH (UID 2 FLAGS (\Seen NonJunk))
<< TAG4 OK Fetch completed.
<< * 1 FETCH (UID 2 RFC822.HEADER {1074}
<< Return-path:....
[...]
<< Date: Thu, 22 Oct 2020 07:06:25 +0200
<< X-Spam-Bar: ++++
<<
<< )
<< TAG5 OK Fetch completed.
<< * 1 FETCH (UID 2 RFC822.TEXT {149}
<< test
<< )
<< TAG6 OK Fetch completed.
Screenshots
Desktop / Server (please complete the following information):
Do you have any idea ?
Thank you;
The text was updated successfully, but these errors were encountered: