0

i have tried to send mail from WAMP server but still its not working... can anyone tell me the whole step to be followed to send mail from WAMP server.note:i am using (7.0.4) version of WAMP server.

Your Common Sense
  • 154,967
  • 38
  • 205
  • 325
Nadeem Duke
  • 151
  • 1
  • 5

1 Answers1

0

The mail() function wont work by default for WAMP. You will need to add details of your SMTP server in the php.ini file.

SMTP = ; Enter here the address of your SMTP server
smtp_port = 25

Then you can use your own PHP code or use third party libraries like PHPMailer or many other open source libraries, which you can find by simple search.

Synchro
  • 32,807
  • 15
  • 77
  • 96
Manikiran
  • 2,578
  • 1
  • 21
  • 39