SMTP Problem

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

SMTP Problem

Postby timlab55 » 20. December 2023 02:47

I'm using XAMPP for windows. I have papercut SMTP as will running in the background. I have 3 scripts in my program. The 1st script goes to my webserver, the 2nd script sends me an email that someone filled out my contact form, and the 3rd script sends out an email to the person who filled out my contact form. When running on my website, it works, but in XAMPP it doesn't. The only email I get back is my 1st one. So what is it that I"m doing wrong in the configuration file?
timlab55
 
Posts: 11
Joined: 24. August 2023 22:38
XAMPP version: 7.3
Operating System: Windows

Re: SMTP Problem

Postby Nobbie » 20. December 2023 12:56

Emails coming from private SMTP servers (i.e. private IPs) are mostly blocked in the internet due to SPAM problems. Only registered SMTP servers (like GMX, Gmail and so on) are accepted.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: SMTP Problem

Postby timlab55 » 20. December 2023 13:14

@Nobbie - What can I use to see how my emails are working from XAMPP?
timlab55
 
Posts: 11
Joined: 24. August 2023 22:38
XAMPP version: 7.3
Operating System: Windows

Re: SMTP Problem

Postby Nobbie » 20. December 2023 19:52

The SMTP server which you apply for your "normal" Emails/Client (Thunderbird etc.). You CANNOT use your local PC as SMTP server.

If you only want to see the Emails (without physically sending them), you might use one of many "fake" sendmail programs, even a simple batch script does it. On https://www.glob.com.au/sendmail/ you will find a couple of examples how to proceed.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 175 guests