I'm trying to setup PHPMailer on XAMPP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Nostrosvostros
Forum Newbie
Posts: 1
Joined: Tue May 22, 2012 7:28 am

I'm trying to setup PHPMailer on XAMPP

Post by Nostrosvostros »

Being fresh to PHP I installed PHPMailer (Not sure how to install classes so what I did is I dropped the PHPMailer files into my PEAR folder since that's where all my extensions are being sent to in XAMPP). Then I ran a basic script to send email via PHPMailer using the functions offered by PHPMailer instead of Mail() (of course) but when I do that and execute my code by going to localhost my Firefox will just display my PHP code right back at me.
User avatar
Grizzzzzzzzzz
Forum Contributor
Posts: 125
Joined: Wed Sep 02, 2009 8:51 am

Re: I'm trying to setup PHPMailer on XAMPP

Post by Grizzzzzzzzzz »

what's the extension of the file the code is stored in?
Post Reply