<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$config['protocol'] = 'smtp';
$config['smtp_host'] = 'ssl://smtp.gmail.com'; // PAKAI ssl://
$config['smtp_port'] = 465; // atau 587
$config['smtp_crypto'] = 'ssl'; // untuk port 465
$config['smtp_user'] = 'rizqywahyu59@gmail.com';
$config['smtp_pass'] = 'MASUKKAN_APP_PASSWORD_DISINI'; // ← Ganti dengan App Password Google
$config['mailtype'] = 'html';
$config['charset'] = 'utf-8';
$config['newline'] = "\r\n";
$config['crlf'] = "\r\n";
$config['wordwrap'] = TRUE;
$config['smtp_timeout'] = 30;