How to get any mail program to work with XAMPP?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to get any mail program to work with XAMPP?

Postby LR50 » 13. September 2016 16:40

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
LR50
 
Posts: 2
Joined: 13. September 2016 16:31
XAMPP version: not sure
Operating System: Windows 10

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

Postby Altrea » 13. September 2016 19:18

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)
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

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

Postby Nobbie » 13. September 2016 20:22

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.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

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

Postby LR50 » 13. September 2016 22:29

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
LR50
 
Posts: 2
Joined: 13. September 2016 16:31
XAMPP version: not sure
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 106 guests