title: Codeigniter emails not being received by gmail
body: <p>I have an app where i'm sending emails on certain events, but when i used my gmail account, i never receive the emails and they are not in my spam folder. When i send them to my work email, i receive them instantaneously.</p>
  
  <p>What do i need to do to get the emails through to google?</p>
  
  <p>I'm using the standard codeigniter email configs (which i think uses sendmail).</p>
  
  <p>I'm using google apps for business and i have the MX records setup that google provides.</p>
  
  <p>Do i need anything else? Also, i'm using subdomains in my app, does that affect what i may need to setup?</p>
  
  <p><img src="https://i.stack.imgur.com/Da9ym.png" alt="enter image description here">
  <img src="https://i.stack.imgur.com/DPstc.png" alt="enter image description here"></p>
  
  <p><strong>EDIT</strong></p>
  
  <p>When i use smtp like this example <a href="https://stackoverflow.com/questions/1555145/sending-email-with-gmail-smtp-with-codeigniter-email-library">Sending email with gmail smtp with codeigniter email library</a>, the page never seems to come back. It eventually just timesout.</p>