Hi there!! I have copied and changed the following code snippet from the php.net site:
<?php$to = 'myusername@mydomain.com';$subject = 'the subject';$message = 'hello';$headers = 'From: webmaster@example.com\r\n';if(mail($to, $subject, $message, $headers)){ echo "Success!!"; }?>
unfortunately, my script wasn't executed and I didn't receive the email even in my junk folder. Can someone help me solve this trouble? Thanks in advance!! atar.