-3

I want to send mail with php mail() function from php code, this function return true but i don't receive any message I've sent is it some problem with my hMailServer in data folder it shows data like the mail was sent but I don't get nothing

Jhony
  • 13
  • 1
  • 6

1 Answers1

0

You need an SMTP server to send mail. this post will probably help you. PHP mail() function returns true, but doesn't send mail

Community
  • 1
  • 1
Sofiene Djebali
  • 4,398
  • 1
  • 21
  • 27
  • I have it hMailServer and I set in php.ini SMTP=localhost and port=25, Is it problem with configuration of hMailServer because I made doman and set localhost name on =localhost – Jhony May 19 '16 at 16:20