Hello,

Does anyone know how can I setup an email server on my local machine, with google or my host's server?

Or do you know of any site that explains how to do that?

Thanks

Which OS and web server ?

Which OS and web server ?

sorry, using Windows 7 and Wamp 2

Note that the example only works if the SMTP server does not require authentication. That will not work with Google and most likely not with your host.

If you need authentication have a look at PHPMailer or PEAR:Mail.

If you want a real e-mail server on your machine, google for 'windows email server'

Thank you,

since it won't work without authentication then I don't see how I can use it.

I will try looking at PHPMailer or PEAR:Mail.

I just want to test my contact forms locally before uploading them into a live server.

Thanks

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.