Page 1 of 1

PHP Mail functioning ...... !

Posted: Wed Mar 24, 2010 3:42 am
by kapgupta
Hi All,

I am very new to this php world and learning on my own. I am in process of implementing a Simple Contact form but could not get the mail functioning running.

I am Win XP (Home Edition) and managed to install PHP 5.2 and Apache and a SMTP server

My question is Do I need to I need to provide any username /passwords in SMTP FOR LOCAL TESTING PURPOSE

Or in other words, do I need to do any level of authentication in SMTP FOR LOCALHOST

Now, when trying to submit the form, there is mail function warning regarding Authentication required

Can I just bypass this by any means.

Also, can you please give some pre-requisites that I need to ensure to get my mail functioning working

Help would be highly appreciated.

Regards,

Kapgupta

Re: PHP Mail functioning ...... !

Posted: Wed Mar 24, 2010 3:29 pm
by Christopher
Whether you need authentication for SMTP is based on the type and configuration of your SMTP server. What server did you install?

Re: PHP Mail functioning ...... !

Posted: Wed Mar 24, 2010 10:47 pm
by kapgupta
I have tried hMailserver.



Thanks

Re: PHP Mail functioning ...... !

Posted: Thu Mar 25, 2010 4:20 pm
by Christopher
Did you configure and test it? Can you send mail through it manually?