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

Duplicate content in body #505

Open
Creanics opened this issue Jan 31, 2025 · 0 comments
Open

Duplicate content in body #505

Creanics opened this issue Jan 31, 2025 · 0 comments

Comments

@Creanics
Copy link

Creanics commented Jan 31, 2025

Describe the bug
When i use $mail->getTextBody(), i have 4 times the content :
if in my mail i have just hello There\n i the function will return hello There\nhello There\nhello There\nhello There\n

To Reproduce
Steps to reproduce the behavior:

  1. Fetch your mails
  2. Create a variable with getTextBody like $body = $mail->getTextBody()
  3. Dump your variable
  4. See that your content is duplicated

Expected behavior
Content not duplicated when using the function

Screenshots
There is my mail (when i go to the webmail) :
Image

And this is the dump of $mail->getTextBody() :

Image

Desktop / Server (please complete the following information):

  • OS: Windows11
  • PHP: 8.1.10
  • Version 6.1.0

Additional context
When I was using v4.12 I didn't have this problem

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

1 participant