I'm trying to setup PHPMailer on XAMPP
Moderator: General Moderators
-
Nostrosvostros
- Forum Newbie
- Posts: 1
- Joined: Tue May 22, 2012 7:28 am
I'm trying to setup PHPMailer on XAMPP
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.
- Grizzzzzzzzzz
- Forum Contributor
- Posts: 125
- Joined: Wed Sep 02, 2009 8:51 am
Re: I'm trying to setup PHPMailer on XAMPP
what's the extension of the file the code is stored in?