Postingan lainnya
Selamat malam, kenapa ngirim email pake ci kok masuknya selalu ke spam.
Selmat Malam, Assalamualaikum para master, saya ijin bertanya kenapa ngirim email pake codeigniter kok masuknya selalu ke spam. mohon pencerahannya ya terimakasih :)
0
4 Jawaban:
Ini yang saya pake kak apa masih ada yg kurang, mohon koreksinya :)
$this->load->library('email'); // Note: no $config param needed
$this->email->from('noreplay@example.com', "example");
$this->email->to('contoh@gmail.com');
$this->email->subject('test');
$this->email->message('test');
$this->email->send();
ini confignya kak
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$config['useragent'] = 'CodeIgniter';
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'localhost';
$config['smtp_port'] = 25;
$config['wordwrap'] = TRUE;
$config['wrapchars'] = 76;
$config['mailtype'] = 'html';
$config['charset'] = 'utf-8';
$config['validate'] = FALSE;
$config['priority'] = 3;
$config['crlf'] = "\r\n";
$config['newline'] = "\r\n";
$config['bcc_batch_mode'] = FALSE;
$config['bcc_batch_size'] = 200;
0
Jawaban Terpilih
untuk masuk ke spam itu banyak kemungkinan, mungkin karena smtp(black list), mungkin karena IP pengirim, mungkin karena template yang digunakan jadi dicheck 1-1 ya
0
okeeee mass, maaf balesnya telat hehe iyaa mass terimakasih banyak semoga ilmunya manfaat @mrvolk :)
0