Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121056 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 42015 invoked from network); 13 Sep 2023 17:51:19 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 13 Sep 2023 17:51:19 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 88F14180089 for ; Wed, 13 Sep 2023 10:51:17 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS200350 178.154.224.0/19 X-Spam-Virus: No X-Envelope-From: Received: from forward501a.mail.yandex.net (forward501a.mail.yandex.net [178.154.239.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 13 Sep 2023 10:51:16 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-81.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-81.vla.yp-c.yandex.net [IPv6:2a02:6b8:c18:4001:0:640:bc2:0]) by forward501a.mail.yandex.net (Yandex) with ESMTP id 91B265ED94 for ; Wed, 13 Sep 2023 20:51:13 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-81.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id CpjLGIEq68c0-GNQkmtvv; Wed, 13 Sep 2023 20:51:13 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=php.watch; s=mail; t=1694627473; bh=oSHqrOZXh9lV6aHY3DUyleI7/eua6c9mdNbQ5M7sLCQ=; h=To:Subject:Message-ID:References:Date:From:In-Reply-To:Cc; b=hpRySlxjbsLr3LTlo4TRZ2fbIqP5CQ+9KP0L7DftxZJiI/ao1HfY+rnzFvJutYqAB EfW6IqIR/s/YyL+D12CzRZyIqv+N9doEvmyRSsw6q0BXOjS2tJoGDhfAzNGTmye8xN 6nm45wb+wnVGZdESVH7Gp47Vvf1a1hCVm+UrXt0A= Authentication-Results: mail-nwsmtp-smtp-production-main-81.vla.yp-c.yandex.net; dkim=pass header.i=@php.watch Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-50079d148aeso64813e87.3 for ; Wed, 13 Sep 2023 10:51:13 -0700 (PDT) X-Gm-Message-State: AOJu0YxT064cbsnpvf/urd5XfFoKHlloKNm0yVZ/9yuscRBpW5X/QSad gL58A5AQ3botChVYFQknYOPDrYidSycQ6Ibzgwo= X-Google-Smtp-Source: AGHT+IGOVsPfswDJsjkURVZn9pRfYtOwBuCpJjY5HKpPcrtzUcE3LRQA/i9mI6rkR11qMtlhZsG1riMpsyvF7fm1tjA= X-Received: by 2002:a05:6512:3d0e:b0:500:9ab8:b790 with SMTP id d14-20020a0565123d0e00b005009ab8b790mr2908691lfv.60.1694627472775; Wed, 13 Sep 2023 10:51:12 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 14 Sep 2023 01:50:45 +0800 X-Gmail-Original-Message-ID: Message-ID: To: Vinicius Dias Cc: PHP Developers Mailing List Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Proposal to unbundle imap/pspell/oci8 extensions for PHP 8.4 From: ayesh@php.watch (Ayesh Karunaratne) > > ext/imap > > > > The library that provides the functionality in this extension, c-client, > > is no longer updated. The last release from 2007 is no longer available > > on the original distributor's (University of Washington) website, but > > there is an unofficial GitHub repository that hasn't been updated for 5 > > years either (https://github.com/uw-imap/imap). > > > > You can't also use this any more with G Suite due to authentication > > changes (https://github.com/uw-imap/imap/issues/4). > > > > There are several user-land packages that are still maintained, and > > provide superior functionality: > > > > - https://github.com/PHPMailer/PHPMailer > > - https://github.com/zetacomponents/Mail/ > > - https://github.com/symfony/mailer > > - https://github.com/laminas/laminas-mail > > > > Those alternatives are for sending e-mails. IMAP is for reading > e-mails. They are not equivalent. > Am I missing something here? > You are right that PHPMailer, laminas and Symfony Mailer are for sending emails, but Zeta supports retrieving email over IMAP. https://packagist.org/packages/webklex/php-imap is a popular and active alternative as well. Considering the lack of updates from upstream as Derick mentioned, lack of OAuth support (which webklex/php-imap supports), and a somewhat lackluster documentation for ext-imap in php.net, I think unbundling ext-imap (along with the other extensions in the proposal) makes sense.