Hallo! Selamat Datang di Marketplace produk digital, Freelancer terbaik di indonesia (68414 Members, 793 Products, 5353 Topic, 13045 Comments)

Membalas pesan pelanggan Toko onlinemu dgn ci

Dibuat
Login Terakhir 2 Tahun lalu,
Telah Dilihat 968 Kali
dhea wistafina Mengatakan : Free Account
  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 !!!

Online