On my desktop PC there is no problem with this configuration, on my notebook, there is. Is it something related to the Apache server port, because on the PC there is the default port 80, and on my notebook it is 8080 because 80 is already taken. I also have disabled every protection such as firewall and antivirus but sending email is still a puzzle.
Why is that, out of interest? Virtually every âPHP wonât send email reliablyâ problem Iâve seen on here has had a response of âuse something like PHPMailer, itâs far betterâ. Just wondered why you are ruling it out.
First suggestion, use Laragon instead of XAMPP. It is better and includes a mail catching utility by default. If you are staying with XAMPP, you can install PaperCut which is a standalone SMTP email catcher. Problem Solved.
Thanks to all for your valuable suggestions, but letâs pretend that I need a solution to my question. If someone can show me guidance on what and where to check towards solving this strange problem, that would be much more appreciated.
On my PC I have never had the need to use it. Why would be this necessary on my notebook, any suggestions? Maybe some background services conflicting?
No, no, I am not ruling it out, indeed I support the usage of PHPMailer, but as I already stated, I need a solution to my original question, because, to be honest, I somehow feel uncomfortable while these strange occurrences are unresolved . I am not a nut
I donât know what you have running on either your desktop or laptop, but you need a mail server to use the mail() function. You could use something else, I imagine, but Mercury comes as part of XAMPP which is why I suggested that.