how to install PHPMailer-Lite_v5.1?

Hello Experts,

I just downloaded PHPMailer-Lite_v5.1; but have no idea how to install it.
Any suggestions?

I am using WAMPSERVER 2.0
Thx,
Regards,
epifanio67Asked:
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.

hieloCommented:
There is nothing to "install". You just need to upload your class.phpmailer-lite.php file to your server and begin using it.

Assuming you uploaded the file to:
http://www.yoursite.com/Classes/class.phpmailer-lite.php

then when you need to use your file, you will need to include it:

test.php
<?php
require_once( $_SERVER['DOCUMENT_ROOT'] . '/Classes/class.phpmailer-lite.php' );
$mail = new PHPMailer();

$mail->SetFrom('andy.prevost@worxteam.com', 'Andy Prevost');

$mail->AddAddress('name1@doedomain.com', 'John Doe');
$mail->AddAddress('name2@doedomain.com', 'Joe Doe');
$mail->AddBcc('myname@mydomain.com', 'James Doe');

$mail->Subject = 'PHPMailer Lite Test Subject via Sendmail';

$mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; // optional - MsgHTML will create an alternate automatically
$mail->MsgHTML("<h1>Hello</h1>");


$mail->Send();

Open in new window

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
epifanio67Author Commented:
thank you so much.... but, where in the server do I put the class?

here is the folder structure:

wamp
  alias
  apps
    phpmyadmin
    sqlitemanager
  bin
    apache
    mysql
    php
  lang
  logs
  scripts
  tmp
  www

thx so much
epifanio67Author Commented:
I got it.. thk u so much
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.