Page 1 of 1

How to get any mail program to work with XAMPP?

PostPosted: 13. September 2016 16:40
by LR50
Is there any recent documentation explaining how to get either PHPMailer or Pear mailer working to send mail with XAMPP? I've tried every superuser recommendation to get PHPMailer working and it fails (most recent failure is "waiting for localhost" forever). Today I decided to see if Pear might work since it is included with XAMPP, but there seems to be no documentation on setting it up or getting it working. There are only bits and pieces on superuser, these forums, and other places. Most of the comments and recommendations are many years old. I'm new to Apache and terribly confused. Can you help? All I need is a pointer to up-to-date documentation -- not looking for someone to debug my code for me, just a starting point. Where do y'all hide the documentation for newbies?
Thanks in advance,
LR50

Re: How to get any mail program to work with XAMPP?

PostPosted: 13. September 2016 19:18
by Altrea
PEAR is dead. Nearly all good and current projects have switched from PEAR to Composer/packagist.
But if you want to use PEAR in XAMPP do it from the XAMPP Shell (Shell button in the XAMPP control panel)

Re: How to get any mail program to work with XAMPP?

PostPosted: 13. September 2016 20:22
by Nobbie
LR50 wrote:Is there any recent documentation explaining how to get either PHPMailer or Pear mailer working to send mail with XAMPP?


Yes of course. There is a documentation how PHPMailer API is working, this is completely independent from Xampp or any other Server collection. Here is the link for the PHPMailer Wiki: https://github.com/PHPMailer/PHPMailer/wiki

Anything else is on you.

Re: How to get any mail program to work with XAMPP?

PostPosted: 13. September 2016 22:29
by LR50
I may be forced to use PEAR, am finding out now. Thank you Altrea.
Thank you for the link Nobbie. Am looking at that right now. I didn't realize that PHPMailer API and Xampp were totally independent. Xampp and my "non-email" php is working extremely well, it's just mail that I'm having trouble with. Best, LR50