i'm using smtp "127.0.0.1" and smtp port "25" to send the mail. My application is working fine but mail is not sending. What i've to do for it. need some suggession.

Recommended Answers

All 3 Replies

Hosted server or local machine? In case of the latter, do you have a mail server installed?

PHP supports smtp only for windows - are you on a Linux machine? you should use the mail() function in php and then configure the sendmail daemon on the host if you are.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.