Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115548 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 64113 invoked from network); 22 Jul 2021 03:55:42 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Jul 2021 03:55:42 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A09AA180504 for ; Wed, 21 Jul 2021 21:21:20 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 21 Jul 2021 21:21:20 -0700 (PDT) Received: by mail-ed1-f47.google.com with SMTP id ca14so5134601edb.2 for ; Wed, 21 Jul 2021 21:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7i+FLCEzEJ/WGx1WO/uDk5Tia8Z3oRFKfyPtRZ3Y/D0=; b=Zk47u7PLEv5IrxusTOZzVS6kjpe0GjRnKj1GdvWUuXvwRzHiA+JOo2NgR3c1zZqKKR SawmcAiesgu0KUagojiuJpvAxMNeDbow06LauPFrmkN9g06VO3bfOwaCW+BGBxkpqYtD 4OtgwR64b9bONDVV1TbjVXNmTnBisfpeoFNE90n7TXUVmwv7izF1l2gPVx53QL8Yw45p f6hIATvrwbvOm6YJtx40JIWitzI/7jBq0GPEU2vVKE3brqr1G9qqOS7zIUvoG2eM2ZSF 9bw16FCHYfJa7vsyMXN7IrWXnznZxbisuNXyv/Vwtr/y5rjUaGc7nC0lzGLd1b4dEqJ5 VW2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7i+FLCEzEJ/WGx1WO/uDk5Tia8Z3oRFKfyPtRZ3Y/D0=; b=Yf06t9v0lNOzE6/sHv65vbdhEohT/fOc1DTLhcCpSm6ltWx9sZzui254qea+pbnNVk dMXdRCTdJUfHa6IDbbHJ9nNQXOkQ9flGSuvSNFqdtKvXnZiSSKZzHdPBYnQ4/vJT865j oPyNlQEAG6l1yOXaA8EIW1qCQTShO2QwfVNEeXL2xLbaJcG/qRzEE+B/2KGc+qOiG7fj mF54WX4UPensABEyZ/4QPjy53LXH2TxJFHdaT+rXKuh5nVkEZH/sbDm+1ywMsOKVKKBj tdiEaZ2tHjdYkNZSpqH5pxr9lBKufWTGou2Qi1lfjiHwdN1OZ7FwOog9LyrDOAI03WDV vtTA== X-Gm-Message-State: AOAM532VjyD4Gv+LNoNXHJQv5Svy+1aaZ/9qGGuWCaHvTjXHxKbwjENh 3Oe2Srg6O3/fHiKe9HdWnSE5e8mKZRh88p4Rlq4= X-Google-Smtp-Source: ABdhPJxb3FF0J5R/pzWryV+KDDO/w2DWNRf4WHcNFW+BKnoybTdU5fe7kA5XB1284ZtAG/m9rJ+/lUoI/WYu6+B1WmM= X-Received: by 2002:aa7:c98d:: with SMTP id c13mr50933604edt.255.1626927675033; Wed, 21 Jul 2021 21:21:15 -0700 (PDT) MIME-Version: 1.0 References: <015E9918-BBD2-4CBC-A18E-3297B27F016C@gmail.com> <968C3EEE-F340-4FCF-96C3-14DE279200E9@gmail.com> In-Reply-To: <968C3EEE-F340-4FCF-96C3-14DE279200E9@gmail.com> Date: Thu, 22 Jul 2021 06:21:03 +0200 Message-ID: To: Tobias Nyholm Cc: =?UTF-8?B?8J+YiSBHb29kIEd1eSDwn5iJ?= , PHP internals Content-Type: multipart/alternative; boundary="000000000000254d0705c7ae9eec" Subject: Re: [PHP-DEV] Reply to an old thread From: drealecs@gmail.com (=?UTF-8?Q?Alexandru_P=C4=83tr=C4=83nescu?=) --000000000000254d0705c7ae9eec Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jul 22, 2021, 04:18 Tobias Nyholm wrote: > Note to self: > Adding =E2=80=9CRe: =E2=80=9C before the title does not work. > > =3D) > > https://news-web.php.net/php.internals/115546 < > https://news-web.php.net/php.internals/115546> > > // Tobias > > Hi Tobias, It depends on the tool used to read the thread. I can tell you that Gmail managed to include your reply in the original thread. Maybe other email clients also managed to do it by Subject matching but that's not the standard. So, https://news-web.php.net/php.internals and https://externals.io didn't. The matching logic for externals.io can be found here and it mostly the same as the other email thread detection implementation: https://github.com/mnapoli/externals/blob/486eb208f36d1c2a46d6691dfe2e2b48c= ebab7ee/src/EmailSynchronizer.php#L137 Specifically, for linking to the original thread check the "References" header and the "In-Reply-To" header. If you use an email client that let you manually edit the fields, the only thing to do is to find the values to put there. That can be done with the view source link on externals.io and looking up on the "Message-ID" header. I guess you can give it a try and reply to my message here. I would have like to test this now as well but I'm on mobile for the rest of the week and tools for this operation are not that mobile friendly. Regards, Alex --000000000000254d0705c7ae9eec--