Skip to content
New issue

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

$message->getTextBody() returns content with headers #485

Closed
igorkorneichuk opened this issue Nov 28, 2023 · 1 comment
Closed

$message->getTextBody() returns content with headers #485

igorkorneichuk opened this issue Nov 28, 2023 · 1 comment

Comments

@igorkorneichuk
Copy link

igorkorneichuk commented Nov 28, 2023

After upgrading to 5.5 (previously used very old version), getTextBody() for some messages returns raw content with headers.

Delivered-To: ***@***.com
Received: (qmail 1834102 invoked by uid 1008); 28 Nov 2023 16:10:10 -0000
X-Qmail-Scanner-Diagnostics: from pop.vulturemail.com by mail.***.com (envelope-from <***@***.de>, uid 89) with qmail-scanner-2.11
 (spamassassin: 3.4.4.
 Clear:RC:0(45.77.143.50):SA:0(1.9/5.0):.
 Processed in 1.83617 secs); 28 Nov 2023 16:10:10 -0000
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.***.com
X-Spam-Level: *
X-Spam-Status: No, score=1.9 required=5.0 tests=AWL,FSL_BULK_SIG,PYZOR_CHECK,
        SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.4
X-Envelope-From: ***@***.de
X-Qmail-Scanner-Mime-Attachments: |
X-Qmail-Scanner-Zip-Files: |
Received: from pop.vulturemail.com (45.77.143.50)
  by mail.***.com with SMTP; 28 Nov 2023 16:10:08 -0000
Received-SPF: pass (mail.****.com: SPF record at ***.de designates 45.77.143.50 as permitted sender)
Received: (qmail 9626 invoked by uid 89); 28 Nov 2023 16:10:08 -0000
Received: from unknown (HELO ?192.168.1.147?) (127.0.0.1)
  by pop.vulturemail.com with SMTP; 28 Nov 2023 16:10:08 -0000
Date: Tue, 28 Nov 2023 17:10:05 +0100
From: MA <***@***.de>
Reply-To: MA <***@***.de>
Message-ID: <352617112.20231128171005@***.de>
To: *** <***@****.com>
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello

x

--
@Webklex
Copy link
Owner

Webklex commented Jan 19, 2025

Hi @igorkorneichuk ,
many thanks for your report. Unfortunately I'm unable to reproduce the issue at this point.
Perhaps you are using an outdated version of webklex/php-imap? If that's the case, please update it to the latest version. This laravel-wrapper fully relies on the functionality of webklex/php-imap.

If the issue still persists, please head over here (https://github.com/Webklex/php-imap/issues/new?template=bug_report.md) and create a new issue. If you do, please provide as much information as possible (such as a failing test case, a dummy email or anything else which could help to reproduce the issue).

Best regards & happy coding,

@Webklex Webklex closed this as completed Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants