How To Install Phpmailer On Xampp Portable

Once you have downloaded the XAMPP portable file, you need to double click on the file to run the installation. During the installation you will be asked to select the location where you want to install XAMPP.

  1. How To Install Phpmailer On Xampp Portable Linux
  2. How To Install Phpmailer On Xampp Portable Download
Active2 years, 5 months ago

So I've tried a couple of things but it I'm just unable to send a mail from php on my XAMPP server. I'm using OSX Yosemite and in terminal I can mail to the local mail client which I've setup and also to my external mail. I even switched to Netbeans IDE and tried the code in it's built in php server which worked but on my xampp server it just doesn't send. I've been trying to use PHPMailer send an email but it doesn't seem to work everything seems fine.

Whenever I send a mail I get this error:

How To Install Phpmailer On Xampp Portable

Any help? Have been trying to figure this out for hours now

DanielDaniel

2 Answers

Configure SMTP Server first to send the email. SMTP configuration is necessary to work the mail function.

Install
IramIram

See my sample in Can't get PHPMailer working

Xampp

Your $mail->Host = 'HOST_ADDRESS'; needs to be specified, or just use 'smtp'

Community
LouisLouis

How To Install Phpmailer On Xampp Portable Linux

2,5621 gold badge14 silver badges21 bronze badges

How To Install Phpmailer On Xampp Portable Download

Not the answer you're looking for? Browse other questions tagged phpmacossmtpxamppphpmailer or ask your own question.