title: Server is not sending emails
body: <p>I am using CodeIgniter for working.I have created a Sign-Up form when a user successfully Sign-Up an activation code will send to his email it gives me the message that email is sent but I am not receiving an email on my Gmail account. I am facing this problem for many days but did not find any solution. Can anyone help?</p>
  
  <pre><code>$string = mt_rand(100000, 999999);
  
  
  $Message = 'Hi Dear, &lt;br&gt; Your Verification code is: &lt;br&gt; &lt;h3&gt;'.$string.'&lt;/h3&gt; &lt;br&gt;&lt;br&gt; Thanks';
  
              $this-&gt;email-&gt;set_mailtype("html");
  
              $config = array(
                  'protocol' =&gt; 'sendmail',
                  'mailtype' =&gt; 'html',
                  'charset' =&gt; 'utf-8',
                  'wordwrap' =&gt; TRUE
              );
              $this-&gt;load-&gt;library('email', $config);
              $this-&gt;email-&gt;set_newline("\r\n");
              $this-&gt;email-&gt;subject('Email Verification');
              $this-&gt;email-&gt;message($Message);
              $this-&gt;email-&gt;from('info@techeasesol.com','Kenswag');
              $this-&gt;email-&gt;to($email);
              $send = $this-&gt;email-&gt;send();
  
              if($send) 
              {
                  $msg = "Please Check Your Email to Verify your Account";
                  $this-&gt;session-&gt;set_flashdata('success',$msg);
                  redirect('code-verify','refresh');
              }
              else
              {
                  $msg = "Email Can't Send";
                  $this-&gt;session-&gt;set_flashdata('error',$msg);
                  redirect('Auth','refresh');
              }
  </code></pre>