0
          <?php

            $to = "[email protected]";
            $subject = "Mail Test at". strftime("%T", time());
            $message = "This is a test";
            $message = wordwrap($message, 70);
            $from  = "[email protected]";
            $headers = "From: {$from}";
            $result = mail($to, $subject, $message, $headers);
           echo $result? 'Sent' : 'Error';
           ?>

My php version is 5.3 and i am not using any SMTP library,I am using simple mail function in php,The script is working good but this script is not sending email to my mail account,The output of my script is SENT but not even a single mail is received in my mail account

0 Answers0