title: date on email received (jan 19th 2038)
body: <p>I have a controller (on cakephp) to send an email. But the user receive the email with a wrong date and always the same: 19th january 2038 4:14 (it seem to be the 2038 bug).
  I have done some tests but I don't manage to find the right parameters to include on controller page. Here is the code:</p>
  
  <p>function _sendNewMessageNotification($message_id){
              $q = $this->Message->findById($message_id) ;</p>
  
  <pre><code>        $this-&gt;Email-&gt;to = $q['Receiver']['email'] ;
          //$this-&gt;Email-&gt;bcc = array('secret@xxxx.fr');
          $this-&gt;Email-&gt;subject = 'You have a new message on Xxxxxx';
          $this-&gt;Email-&gt;replyTo = 'contact@xxxx.fr';
          $this-&gt;Email-&gt;from = 'Xxxxx &lt;contact@xxxx.fr&gt;';
          $this-&gt;Email-&gt;template = 'messages/new_message_notification'; // note no '.ctp'
                //Send as 'html', 'text' or 'both' (default is 'text')
          $this-&gt;Email-&gt;sendAs = 'html'; // because we like to send pretty mail
                //Set view variables as normal
                //Do not pass any args to send()
          $this-&gt;set('message', $q) ;               
          $this-&gt;Email-&gt;send();
  </code></pre>
  
  <p>Many thanks in advance if you can help</p>