1

I want to use my site mail testing in wamp server but server port error display. so please suggest how i use mail() function on my localhost server. thanks.

Cybermaxs
  • 24,378
  • 8
  • 83
  • 112
himansu
  • 1,767
  • 13
  • 15
  • you got to have mail server running in your machine – WatsMyName Sep 26 '12 at 09:37
  • unless you happen to have a mail server installed you will have to use an external one such as your isp or gmail. http://stackoverflow.com/questions/600725/how-to-configure-wamp-localhost-to-send-email-using-gmail?rq=1 –  Sep 26 '12 at 09:38

1 Answers1

0

if you are under WampServer: configure your php.ini file with

SMTP = 127.0.0.1
smtp_port = 25
chokrijobs
  • 761
  • 1
  • 6
  • 10