title: How to send mail without a delay
body: <p>I have to send mails to 5 people with different messages. I'm sending a mail using SMTP, using below code to send mail but it has some delay because of this getting late response. How can i send mail without delay?</p>
  
  <p>Here is the Code i'm using</p>
  
  <pre><code>$email  = '';
  $from  = '';
  $subject  = '';
  $message  = 'Message';
  
  $config = Array(
      'protocol' =&gt; 'smtp',
      'smtp_host' =&gt; 'ssl://smtp.googlemail.com',
      'smtp_port' =&gt; 465,
      'smtp_user' =&gt; '',
      'smtp_pass' =&gt; '',
      'mailtype'  =&gt; 'html', 
      'charset'   =&gt; 'utf-8'
  );
  $this-&gt;load-&gt;library('email');
  $this-&gt;email-&gt;initialize($config);
  $this-&gt;email-&gt;set_newline("\r\n");
  $this-&gt;email-&gt;from($from, '');
  $this-&gt;email-&gt;to($email);
  $this-&gt;email-&gt;subject($subject);
  $this-&gt;email-&gt;message($message);
  $result = $this-&gt;email-&gt;send();
  </code></pre>