can i send a mail by php mail() function using wamp server or i have to create my own web server for such mail sending testing? tell me how to create own web server?

You can only send email from your local system if you have a mail server installed. WAMPServer does not include it. If you do not have one, I suggest using a tool like PHPMailer, so you can use an external account for sending (e.g. gmail).

Creating a web server is something else entirely.

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.