PHPMailer or standard php email command having an attachment

I've downloaded the PHPMailer from GitHub.  PHPMailer.php says it is version 5.5

I am getting an error on a simple PHP test that says PHPMailer class not found.  The app I am developing is in a folder named mrp.   And the error occurs even when I place the third-party PHPMailer files in the same folder as the app. The PHP line in my code is simply
include "PHPMailer.php";

Open in new window


I have been looking for answers but everything I see says files named like "class.phpmailer.php"  I've no files that begin with the word "class."

What am I missing?

As a side note:

I have used the standard PHP email() command when sending standard emails. No problem.  Now I am simply looking for a way to attach an Excel workbook file to an email.  This is all for company internal emailing, not external.
Joe WeinpertSr Application Engineer & DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Marcus BointonCommented:
You're looking in the wrong place. The current PHPMailer version is 6.0 (and there has never been a version 5.5), and it no longer includes files with names like 'class.phpmailer.php' - so whatever you're looking at is obsolete.

PHPMailer lives on GitHub, so go there, download the latest version, read what the readme says about how to load it, and base your code on the examples provided with it, not from elsewhere. It's strongly recommended to use composer to load your packages, but you can do without - it's all described in the readme and documentation and examples linked from there.
2

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.