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

/*
|--------------------------------------------------------------------------
| Email Configuration
|--------------------------------------------------------------------------
|
| Konfigurasi SMTP untuk Gmail
| Untuk menggunakan Gmail SMTP, pastikan:
| 1. Aktifkan 2FA di akun Gmail Anda
| 2. Generate App Password di https://myaccount.google.com/apppasswords
| 3. Ganti email dan password di bawah ini
|
*/

$config['protocol'] = 'smtp';
$config['smtp_host'] = 'smtp.gmail.com';
$config['smtp_port'] = 587;
$config['smtp_user'] = 'plowsky69@gmail.com'; // Ganti dengan email Anda
$config['smtp_pass'] = 'ueki xcjw jezt kwup';   // Ganti dengan app password Anda
$config['smtp_crypto'] = 'tls';
$config['mailtype'] = 'html';
$config['charset'] = 'utf-8';
$config['newline'] = "\r\n";
$config['wordwrap'] = TRUE;
$config['smtp_timeout'] = 30;
$config['validate'] = TRUE;
$config['crlf'] = "\r\n";
$config['bcc_batch_mode'] = FALSE;
$config['bcc_batch_size'] = 200;
