title: How to use PHPMailer in codeigniter?
body: <p><p>I get the following error when I try to send email using 
  PHPMailer</p><br><br></p>
  
  <blockquote>
    <p>2016-05-31 10:44:55 CLIENT -> SERVER: EHLO localhost 2016-05-31
    10:44:56 CLIENT -> SERVER: MAIL FROM: 2016-05-31 10:44:56 SMTP ERROR:
    MAIL FROM command failed: 530-5.5.1 Authentication Required. Learn
    more at 530 5.5.1 <a href="https://support.google.com/mail/answer/14257" rel="nofollow noreferrer">https://support.google.com/mail/answer/14257</a>
    v27sm39349082pfi.49 - gsmtp 2016-05-31 10:44:56 The following From
    address failed: my.news.app@gmail.com : MAIL FROM command
    failed,Authentication Required. Learn more at
    <a href="https://support.google.com/mail/answer/14257" rel="nofollow noreferrer">https://support.google.com/mail/answer/14257</a> v27sm39349082pfi.49 -
    gsmtp ,530,5.5.1SMTP server error: MAIL FROM command failed Detail:
    Authentication Required. Learn more at
    <a href="https://support.google.com/mail/answer/14257" rel="nofollow noreferrer">https://support.google.com/mail/answer/14257</a> v27sm39349082pfi.49 -
    gsmtp SMTP code: 530 Additional SMTP info: 5.5.1 The following From
    address failed: my.news.app@gmail.com : MAIL FROM command
    failed,Authentication Required. Learn more at
    <a href="https://support.google.com/mail/answer/14257" rel="nofollow noreferrer">https://support.google.com/mail/answer/14257</a> v27sm39349082pfi.49 -
    gsmtp ,530,5.5.1SMTP server error: MAIL FROM command failed Detail:
    Authentication Required. Learn more at
    <a href="https://support.google.com/mail/answer/14257" rel="nofollow noreferrer">https://support.google.com/mail/answer/14257</a> v27sm39349082pfi.49 -
    gsmtp SMTP code: 530 Additional SMTP info: 5.5.1 2016-05-31 10:44:56
    CLIENT -> SERVER: QUIT</p>
  </blockquote>