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
  • 156,878
  • 40
  • 214
  • 345
Nadeem Duke
  • 161
  • 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
  • 35,538
  • 15
  • 81
  • 104
Manikiran
  • 2,618
  • 1
  • 23
  • 39