I am using the "mail()" function in php to send emails from a webpage running in WAMP on my laptop. This used to work but I now get a failure message "local host failed to connect to mailserver at outmail.f2s.com. Should now be mail.overssl.net". My email used to be handled by outmail.f2s.com port 25 but is now mail.overssl.net. The error suggest setting the correct parameters in php.ini or using ini_set. Anyone know how to do this.
I have now learned to set php parameters using: ini_set('SMTP','mail.overssl.net'); ini_set('smtp_port', '999'; (using mu correct output port number) ini_set('sendmail_from','myemail@domain.com'); (using my correct email)
But now the webpage in WAMP loops (at least 20 mins) waiting response from localhost I'm running WAMP on Outlook though this is now obsolete.
Any ideas how to get mail() running on WAMP on a local laptop?