<commit_before># PHPMailer Change Log

## Version 6.0
This is a major update that breaks backwards compatibility.

* **Requires PHP 5.5 or later**
* **Uses the `PHPMailer\PHPMailer` namespace**
* File structure simplified and PSR-4 compatible, classes live in the `src/` folder
* The custom autoloader has been removed: [**use composer**](https://getcomposer.org)!
* Classes & Exceptions renamed to make use of the namespace
* Most statically called functions now use the `static` keyword instead of `self`, so it's possible to override static internal functions in subclasses, for example `validateAddress()`
* Complete RFC standardisation on CRLF (`\r\n`) line breaks for SMTP by default:
  * `PHPMailer:$LE` defaults to CRLF
  * All uses of `PHPMailer::$LE` property converted to use `static::$LE` constant for consistency and ease of overriding
  * Similar changes to line break handling in SMTP and POP3 classes.
  * Line break format for `mail()` transport is set automatically.
  * Warnings emitted in debug output for buggy `mail()` in PHP versions 7.0.0 - 7.0.16 and 7.1.0 - 7.1.2; either upgrade or switch to SMTP.
* Extensive reworking of XOAUTH2, adding support for Google, Yahoo and Microsoft providers, thanks to @sherryl4george
* Major cleanup of docs and examples
* All elements previously marked as deprecated have been removed:
  * `PHPMailer->Version` (replaced with `VERSION` constant)
  * `PHPMailer->ReturnPath`
  * `PHPMailer->PluginDir`
  * `PHPMailer->encodeQPphp()`
  * `SMTP->CRLF` (replaced with `LE` constant)<commit_msg>Changelog<commit_after># PHPMailer Change Log

## Version 6.0
This is a major update that breaks backwards compatibility.

* **Requires PHP 5.5 or later**
* **Uses the `PHPMailer\PHPMailer` namespace**
* File structure simplified and PSR-4 compatible, classes live in the `src/` folder
* The custom autoloader has been removed: [**use composer**](https://getcomposer.org)!
* Classes & Exceptions renamed to make use of the namespace
* Most statically called functions now use the `static` keyword instead of `self`, so it's possible to override static internal functions in subclasses, for example `validateAddress()`
* Complete RFC standardisation on CRLF (`\r\n`) line breaks for SMTP by default:
  * `PHPMailer:$LE` defaults to CRLF
  * All uses of `PHPMailer::$LE` property converted to use `static::$LE` constant for consistency and ease of overriding
  * Similar changes to line break handling in SMTP and POP3 classes.
  * Line break format for `mail()` transport is set automatically.
  * Warnings emitted for buggy `mail()` in PHP versions 7.0.0 - 7.0.16 and 7.1.0 - 7.1.2; either upgrade or switch to SMTP.
* Extensive reworking of XOAUTH2, adding support for Google, Yahoo and Microsoft providers, thanks to @sherryl4george
* Major cleanup of docs and examples
* All elements previously marked as deprecated have been removed:
  * `PHPMailer->Version` (replaced with `VERSION` constant)
  * `PHPMailer->ReturnPath`
  * `PHPMailer->PluginDir`
  * `PHPMailer->encodeQPphp()`
  * `SMTP->CRLF` (replaced with `LE` constant)
{'fraction_non_alphanumeric': 0.09675324675324676, 'fraction_numerical': 0.013636363636363636, 'mean_word_length': 4.748134328358209, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5232848', 'n_tokens_mistral': 946, 'n_tokens_neox': 880, 'n_words': 386}