title: setting smtp server in php geekmail
body: <p><a href="http://github.com/NeilCrosby/multi-level-vcards/blob/master/via-email/geekMail-1.0.php" rel="nofollow">http://github.com/NeilCrosby/multi-level-vcards/blob/master/via-email/geekMail-1.0.php</a></p>
  
  <p>That's a link to the class. How can I set the smtp server?</p>
  
  <p>My current code looks like:</p>
  
  <pre><code>require_once( 'assetform/geekMail-1.0.php' );
  $geekMail = new geekMail();
  $geekMail-&gt;setMailType('html');
  $geekMail-&gt;from('xx@gmail.com', 'no-reply');
  $geekMail-&gt;to('xx@gmail.com');
  $geekMail-&gt;subject('Request');
  $geekMail-&gt;message('this is a test email.');
  $geekMail-&gt;attach($path.'1287448945.pdf');
  </code></pre>