Idle connection is established successfully with a callback for the new email, but when sending an email to that connected email from another email and being successfully added to the INBOX
folder but callback was not fired.
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Webklex\PHPIMAP\ClientManager;
use Webklex\PHPIMAP\Exceptions\ConnectionFailedException;
use Webklex\PHPIMAP\Exceptions\FolderFetchingException;
use Webklex\PHPIMAP\Message;
class ImapIdleTest extends Command
{
protected $signature = 'imap:test-idle';
protected $description = 'Test raw IMAP IDLE using Webklex/php-imap directly';
public function handle()
{
$this->info("
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744318315a4568291.html
评论列表(0条)