Mailing code giving an error : <p>I am new to php &amp; have tried out some code in php for sending mail to user by some simple means, i am facing some issues as code giving a error..!! please help me.</p>

<p><strong>php</strong></p>

<pre><code>$to      =  ' '". $_SESSION['email'] ."' ';
        $subject = 'Your vault number';
        $message = 'Your vault number is '". $_SESSION['vault_no'] ."' ';
        $headers = 'From: innovation@miisky.com' . "\r\n" .
            'Reply-To: innovation@miisky.com' . "\r\n" .
            'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
</code></pre>
