Hi.
I am using WAMP package, which has the following tools:
MySQL 5...
PHP 5...
Apache2...
and I my own computer as client and server, and I like to test the mail function of PHP.

PROBLEM:
Is it possible to use the mail function of PHP on my own computer?
What other tools needed to do the task?

Thanks

Recommended Answers

All 4 Replies

It is possible to use mail functionality on your computer. You just need a mail server installed on your PC. You can use the free version of LiteMail.

Thanks for replying,
But could you please , give a little more detail ...

Check out the documentation of your php.ini file. There you can enter the mail host, user, pass etc. which mail() should use. It should be possible e.g. to connect to gmail or another smtp host.

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.