I have xampp server installed and i want to send mail function with php on localhost (my system). I have done following configuration settings in php.ini

SMTP = mail.prs.prod
smtp_port = 25

I have also set the following line
;extension=php_smtp.dll
by commenting and again uncommenting.

But unable to send email from my system.

One thing i would like to mention that in apache2triad server mail function works fine and it sends email.

Please can any body help me regarding this issue?

Does mail.prs.prod require you to login before you can send email?

If it does, you'll need to use the PEAR email functions to send the email.

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.