title: Cakephp 3 Unknown Email error
body: <p>I wanted to ask about sending emails in cakephp3.</p>
  
  <p>I am using cakephp3 docs, and configured everything as example shows.</p>
  
  <p>But, when I try to send mail, this error appears:</p>
  
  <blockquote>
    <p>Could not send email: unknown </p>
  </blockquote>
  
  <pre><code>//app.php
  'EmailTransport' =&gt; [
  
      'default' =&gt; [
          'className' =&gt; 'Mail',
          // The following keys are used in SMTP transports
          'host' =&gt; 'smtp.gmail.om',
          'port' =&gt; 465,
          'timeout' =&gt; 30,
          'username' =&gt; 'mymail@gmail.com',
          'password' =&gt; 'password',
          'client' =&gt; null,
          'tls' =&gt; null,
      ],
  ],
  </code></pre>
  
  <p>ContactController:</p>
  
  <pre><code>public function contact() {
  
      if (isset($this-&gt;request-&gt;data) AND ($this-&gt;request-&gt;is('post'))) {
          $email = new Email('default');
          if ($email-&gt;from(['mymail@gmail.com' =&gt; 'My Site'])-&gt;to('othermail@gmail.com')-&gt;subject('Hello')-&gt;send('Message')) {
              //pr( 'ok');
          }
      }
  }
  </code></pre>
  
  <p>Is this a generic error message (, which may have many reasons, in my opinion)? it has no value in context of debug. </p>