title: How Use Sendinblue with PHPMailer
body: <p>I'm setting up an email configuration with PHPMailer and just work fine with local email in my office, but since I want use Sendinblue as an email API I just stucked and it didn't work. </p>
  
  <p>I tried to find some suggest to fixed it but stucked. Did anyone try to figure out what I'm looking for about Sendinblue with PHPMailer?</p>
  
  <p>With PHPMailer Library in background, I usually use this code to run my program</p>
  
  <pre><code>function send_mail2($from,$from_name,$to,$to_name,$cc,$cc_name,$cc2,$cc_name2,$cc3,$cc_name3,$subjek,$template,$is_smtp,$usermail,$password){
      $sendmail = new PHPMailer();
      if($is_smtp = 'Y'){
          $sendmail-&gt;IsSMTP(); // enable SMTP
          // $sendmail-&gt;SMTPDebug = 1; // debugging: 1 = errors and messages, 2 = messages only
          $sendmail-&gt;SMTPAuth = true; // authentication enabled
          $sendmail-&gt;SMTPSecure = 'ssl'; // secure transfer enabled REQUIRED for GMail
          $sendmail-&gt;Host = "192.x.x.x";
          $sendmail-&gt;Port = 465; // or 587
          $sendmail-&gt;Username = "xxx@xxx.com";
          $sendmail-&gt;Password = "xxx";
      }
      $sendmail-&gt;setFrom("xxx@xxx.com","xxx@xxx.com"); //email pengirim
      $sendmail-&gt;addReplyTo("xxx@xxx.com","xxx@xxx.com"); //email replay
      $sendmail-&gt;addAddress($to,$to_name); 
      $sendmail-&gt;AddCC($cc,$cc_name); 
      $sendmail-&gt;AddCC($cc2,$cc_name2); 
      $sendmail-&gt;AddCC($cc3,$cc_name3); 
      $sendmail-&gt;Subject = $subjek; 
      $sendmail-&gt;Body=$template; 
      $sendmail-&gt;isHTML(true);
      if(!$sendmail-&gt;Send()) {
          return "failed";                  
      }else{ 
        return "success";
      }
  }
  </code></pre>
  
  <p>I just want to find how to use Sendinblue with PHPMailer.</p>