I'm using windows 7 and wamp server on my computer. I want to send email from my local host and i write the php code like the following
<?php $to = 'firstname.lastname@example.org'; $subject = 'test_subject'; $message = 'test_message'; mail($to,$subject,$message); ?>
the above code neither displays error message nor sends the email to email@example.com. Is there any one who can help me?
thank you for your help.