Sendmail macos high sierra

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Sendmail macos high sierra

Postby PcGamer » 26. September 2017 11:23

I have a problem can not send sendmail with xampp 7.1.9.0, I have a contact form in php want to send this someone sometimes knows how to do this my version is macos high sierra

Yours sincerely
PcGamer
 
Posts: 4
Joined: 26. September 2017 10:01
XAMPP version: 7.1.9.0
Operating System: 10.12.6

Re: Sendmail macos high sierra

Postby Nobbie » 26. September 2017 15:31

Either use PHPMailer Class from Sourceforge (instead of mail() function) and provide appropriate SMTP Server and User/Password (i.e. Gmail, GMX or similar). Or setup your own SMTP Server without login and use mail() function.

Both pretty sophisticated jobs, Xampp does not provide Email support.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Sendmail macos high sierra

Postby PcGamer » 27. September 2017 09:03

because I also have windows pc if there works that, sometimes someone knows how this is coming ??

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

change to

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = smtp.myisp.be
; http://php.net/smtp-port
smtp_port = 25
PcGamer
 
Posts: 4
Joined: 26. September 2017 10:01
XAMPP version: 7.1.9.0
Operating System: 10.12.6

Re: Sendmail macos high sierra

Postby Nobbie » 27. September 2017 09:04

PcGamer wrote:Earlier, I could email by just customizing the php.ini


Yes, earlier the SMTP providers did not require login to their servers. But due to SPAM this is not supported anymore and the problem is, that PHP mail() function cannot apply user/password. So only "open" SMTP servers are supported, but there is no open SMTP Provider anymore.

PcGamer wrote:because I also have windows pc if there works that, sometimes someone knows how this is coming ??


You either have setup your own SMTP server on localhost, or you really have an open SMTP Server at home. I dont know any open SMTP server.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Sendmail macos high sierra

Postby PcGamer » 27. September 2017 09:20

I do not understand why it does not work on Mac, but PC without login and password from your ISP on port 25, earlier this was because of older version of OS
PcGamer
 
Posts: 4
Joined: 26. September 2017 10:01
XAMPP version: 7.1.9.0
Operating System: 10.12.6

Re: Sendmail macos high sierra

Postby Nobbie » 28. September 2017 09:10

PcGamer wrote:I do not understand why it does not work on Mac, but PC


Maybe a firewall on MacOS?
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Sendmail macos high sierra

Postby PcGamer » 05. October 2017 14:04

No I have the firewall, the same put the antivirus, nothing works really has somebody's solution it needs

because it used to be with an old version of osx, does anyone sometimes know what's changing?
PcGamer
 
Posts: 4
Joined: 26. September 2017 10:01
XAMPP version: 7.1.9.0
Operating System: 10.12.6


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 10 guests