You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sending emails using \Tx\Mailer() and then calling \Webklex \PHPIMAP to obtain the list of sent emails will result in all services being unavailable
#494
Closed
ninencc opened this issue
May 24, 2024
· 0 comments
Describe the bug
Sending emails using \Tx\Mailer() and then calling \Webklex\PHPIMAP to obtain the list of sent emails will result in all services being unavailable.
Obtaining the receiving mailbox is normal, only exceptions occur when obtaining the sending mailbox.
After obtaining the list of sent emails, performing other operations may cause the server to fail to respond or result in 404
Get a list of sent emails:
$client->getFolderByPath('发信箱')->messages()->setFetchOrder("desc")->all()->limit($limit, intval($offset / $limit) + 1)->get();
PHP: 7.3.4nts
Nginx:1.15.11
The text was updated successfully, but these errors were encountered:
Describe the bug
Sending emails using \Tx\Mailer() and then calling \Webklex\PHPIMAP to obtain the list of sent emails will result in all services being unavailable.
Obtaining the receiving mailbox is normal, only exceptions occur when obtaining the sending mailbox.
After obtaining the list of sent emails, performing other operations may cause the server to fail to respond or result in 404
Code to Reproduce
send email:
$mail = new Mailer();
$mail->setServer(str_replace('imap', 'smtp', $config['host']), 465, 'ssl');
$mail->setAuth($config['username'], $config['password']);
$mail->setFrom($data['from_name'], $config['username'])
->setSubject($data['subject'])
->setBody($data['content'])
->addTo('', $data['to_mail'])
->send();
Get a list of sent emails:
$client->getFolderByPath('发信箱')->messages()->setFetchOrder("desc")->all()->limit($limit, intval($offset / $limit) + 1)->get();
PHP: 7.3.4nts
Nginx:1.15.11
The text was updated successfully, but these errors were encountered: