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

PHP8.0 mail() to use /r/n line endings #25

Merged
merged 1 commit into from Aug 27, 2023

Conversation

matidau
Copy link
Collaborator

@matidau matidau commented Aug 18, 2023

Used less than PHP 8.0, as this is a breaking change for PHP 7.4.

What does this implement/fix? Explain your changes.

Reported issue for users of PHP8.0+ using PHP mail() to send.

The change for 8.0 is explained well on this Drupal issue https://www.drupal.org/project/drupal/issues/3270647

Does this close any currently open issues?

#24 error sending mail: corrupt headers

Any relevant logs, error output, etc?

Just the ones in the issue

Where has this been tested?

Server (please complete the following information):

  • OS: Ubuntu 22.04
  • PHP Version: 7.4 / 8.0
  • Backend for: IMAP / Mail-in-a-Box
  • and Version: Mail-in-a-Box v63

Smartphone (please complete the following information):

  • Device: Xiaomi 11T
  • OS: Android 13
  • Mail App: GMail
  • Version 2023.07.23

Used less than PHP 8.0, as this is a breaking change for PHP 7.4.
@matidau matidau linked an issue Aug 18, 2023 that may be closed by this pull request
@matidau matidau merged commit 339fe67 into develop Aug 27, 2023
3 checks passed
@matidau matidau deleted the 24-error-sending-mail-corrupt-headers branch August 27, 2023 06:14
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

Successfully merging this pull request may close these issues.

error sending mail: corrupt headers
1 participant