title: sending email using zend/mail
body: <p>I want to send an email using zend/mail in zend framework 2. 
  I already have some code but i don't know where to put it, and also not how to trigger this.</p>
  
  <pre><code>$mail = new Mail\Message();
          $mail-&gt;setBody('This is the text of the email.');
          $mail-&gt;setFrom('email@hotmail.be', 'email');
          $mail-&gt;addTo('email@hotmail.be', 'email');
          $mail-&gt;setSubject('Dit is een email verzonden van de computer');
  
  $transport = new Mail\Transport\Sendmail('-freturn_to_email@hotmail.be');
  $transport-&gt;send($mail);
  </code></pre>
  
  <p>I still new at Zend framework 2.</p>
  
  <p>Can anybody help me with this? </p>