Haloo! Selamat Datang di Komunitas Private Training Web Development (56225 Members, 643 Products, 4506 Topic, 11875 Comments)

Butuh karyawan baru? atau seorang Web Developer (Part-time/Freelance/Full-time), cari disini : Members Area Jobs!

Membalas pesan pelanggan Toko onlinemu dgn ci

Dibuat
Login Terakhir 16 Hari lalu,
Telah Dilihat 70 Kali
dhea wistafina Mengatakan : Premium
  1. Assalamualaikum Warahmatullahi Wabarakatuh...
  2. Membalas pesan pelanggan tidak masuk ke email pelanggan, bagaimana cara mengatasi nya mas

Ada 1 Jawaban

PHPMU.COM Support
commented on 02 Jul 2020 10:39:05
  1. Assalamualaikum,.. bisa ubah ke SMTP untuk mengirim email,
  2. karena beberapa penyedia hosting tidak mengizinkan fungsi mail,
  3. cara bisa dengan buka file berit dan scroll baris 194 :
  4. C:\xampp\htdocs\toko_onlinemu\application\models\Model_main.php
  5.  
  6. $this->email->from('robby.prihandaya@gmail.com', 'PHPMU.COM');
  7. $this->email->to($email);
  8. $this->email->cc('');
  9. $this->email->bcc('');
  10. $this->email->subject($subject);
  11. $this->email->message($message);
  12. $this->email->set_mailtype("html");
  13. $this->email->send();
  14. $config['protocol'] = 'sendmail';
  15. $config['mailpath'] = '/usr/sbin/sendmail';
  16. $config['charset'] = 'utf-8';
  17. $config['wordwrap'] = TRUE;
  18. $config['mailtype'] = 'html';
  19. $this->email->initialize($config);
  20.  
  21.  
  22. Ubah menjadi :
  23. $this->load->library('email');
  24. $config['protocol'] = 'smtp';
  25. $config['smtp_host'] = 'ssl://smtp.googlemail.com';
  26. $config['smtp_port'] = '465';
  27. $config['smtp_timeout'] = '7';
  28. $config['smtp_user'] = "alamat_email@gmail.com";
  29. $config['smtp_pass'] = "password gmail disini...";
  30. $config['charset'] = 'utf-8';
  31. $config['newline'] = "\r\n";
  32. $config['mailtype'] = 'html';
  33. $config['validation'] = TRUE;
  34. $this->email->initialize($config);
  35. $this->email->from("alamat_email@gmail.com", "TOKO ONLINE");
  36. $this->email->to($email);
  37. $this->email->cc('');
  38. $this->email->bcc('');
  39. $this->email->subject($subject);
  40. $this->email->message($message);
  41. $this->email->send();
Maaf, Untuk Memberikan Komentar Anda Harus Login !!!