-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Undefined constant PHPMailer on line 2017 #2889
Comments
Sorry, this was my mistake. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using PHPMailer 6.8.0 installed manually into my project, sending mail with SMTP is failing with the error
Undefined constant "PHPMailer\PHPMailer\PHPMailer"
This is occuring on line 2017 in PHPMailer.php:
$header = PHPMailer . phpstatic::stripTrailingWSP($header) . static::$LE . static::$LE;
.I have installed PHPMailer as per the instructions for a manual install.
Downgrading to a previous version has worked around the issue.
The text was updated successfully, but these errors were encountered: