Bisakah Slims Mengirim email di localhost?

About Online Public Access Catalogue in SLiMS (theme modification, effective search, etc.)

Moderators: wynerst, buitenzorg812, purwoko, sutriadi, ido, Dicarve, ridorido

Post Reply
tonbad
Posts: 7
Joined: 10 Jan 2012, 15:39

Bisakah Slims Mengirim email di localhost?

Post by tonbad » 09 May 2012, 08:20

Assalamualaikum, mohon bantuannya para master... :D
jika slims dijalankan di localhost, bisakah ketika user reserve sebuah buku dalam keranjang akan mengirim email ke account gmail administrator... yang mana bisa terkoneksi ke internet juga...saya menggunakan sendemail.exe bawaan xammp... tapi belum berhasil... makasih sebelumnya...

User avatar
buitenzorg812
Posts: 830
Joined: 20 Sep 2011, 14:18
Location: Jakarta, Indonesia
Contact:

Re: Bisakah Slims Mengirim email di localhost?

Post by buitenzorg812 » 09 May 2012, 09:02

bisa dan ngga' perlu aplikasi lain. tinggal disetel bagian ini, pada berkas sysconfig.inc.php.

/**
* Mailing Settings
*/
$sysconf['mail']['enable'] = true;
$sysconf['mail']['server'] = 'ssl://smtp.gmail.com:465'; // SMTP server
$sysconf['mail']['server_port'] = 465; // the SMTP port
$sysconf['mail']['auth_enable'] = true; // enable SMTP authentication
$sysconf['mail']['auth_username'] = 'admin'; // SMTP account username --> sesuaikan dengan akun gmail sodara. penulisannya lengkap (anu@gmail.com)
$sysconf['mail']['auth_password'] = 'admin'; // SMTP account password
$sysconf['mail']['from'] = 'admin@localhost'; --> diisi sama dengan ['auth_username'] (saya belom pernah coba kalo diisi beda, silahkan coba2)
$sysconf['mail']['from_name'] = 'SLiMS Administrator'; --> isinya bisa diganti, sesuai selera
$sysconf['mail']['reply_to'] = &$sysconf['mail']['from'];
$sysconf['mail']['reply_to_name'] = &$sysconf['mail']['from_name'];

semoga membantu :).


saran bersifat pilihan:
kalo saya, biar isi sysconfig.inc.php aslinya ngga' diotak-atik. silahkan salin tempel (copy paste) setelan tadi ke dalam berkas sysconfig.local.inc.php. nanti hasil salin tempel di sysconfig.local.inc.php yang diotak-atik.

tonbad
Posts: 7
Joined: 10 Jan 2012, 15:39

Re: Bisakah Slims Mengirim email di localhost?

Post by tonbad » 09 May 2012, 10:51

terimakasih atas quick replynya mas... oh ya mas caranya reservation mulai dari awal tu bagaimana caranya ya? soalnya saya sudah klik "Reserve title(s) on Basket" dan ada pesan "Reservation e-mail sent" dan setelah itu saya cek email saya... tapi kok g masuk... setting sudah saya lakukan seperti ini di "sysconfig.inc.php"

/**
* Mailing Settings
*/
$sysconf['mail']['enable'] = true;
$sysconf['mail']['server'] = 'ssl://smtp.gmail.com:465'; // SMTP server
$sysconf['mail']['server_port'] = 465; // the SMTP port
$sysconf['mail']['auth_enable'] = true; // enable SMTP authentication
$sysconf['mail']['auth_username'] = 'tonbadhawi@gmail.com'; // SMTP account username
$sysconf['mail']['auth_password'] = 'password'; // SMTP account password
$sysconf['mail']['from'] = 'admin@localhost';
$sysconf['mail']['from_name'] = 'SLiMS Administrator';
$sysconf['mail']['reply_to'] = &$sysconf['mail']['from'];
$sysconf['mail']['reply_to_name'] = &$sysconf['mail']['from_name'];

kenapa ya mas?.... makasih :D

User avatar
azwarmuin
Posts: 109
Joined: 27 Sep 2011, 08:11
Location: Depok, West Java
Contact:

Re: Bisakah Slims Mengirim email di localhost?

Post by azwarmuin » 09 May 2012, 17:12

Salam,

$sysconf['mail']['from'] = 'admin@localhost'; --> isikan sama dengan 'tonbadhawi@gmail.com'

User avatar
dharma
Posts: 49
Joined: 18 Nov 2011, 08:27

Re: Bisakah Slims Mengirim email di localhost?

Post by dharma » 06 Sep 2014, 08:46

tetep nda mau juga pak selalu muncul pesan seperti ini : "SMTP Error: Could not authenticate. SMTP Error: Could not authenticate."

mohon pencerahannya pak :)

User avatar
buitenzorg812
Posts: 830
Joined: 20 Sep 2011, 14:18
Location: Jakarta, Indonesia
Contact:

Re: Bisakah Slims Mengirim email di localhost?

Post by buitenzorg812 » 19 Sep 2014, 18:13

komputer/server-nya terhubung ke internet belum?

dfrEak
Posts: 72
Joined: 16 Dec 2013, 11:13
Location: Tokyo, Japan

Re: Bisakah Slims Mengirim email di localhost?

Post by dfrEak » 27 Sep 2014, 17:42

Ada 2 settingan yang harus diset di slims jika ingin mengaktifkan email
1 yang di config seperti yang sudah dijelaskan sebelumnya
2 settingan di email admin yang ingin dipakai

jika mas memakai gmail maka ada di Settings-Forwarding and POP/IMAP
Enable IMAP dicentang

Smoga membantu

Tjilebout
Posts: 1
Joined: 15 Sep 2014, 13:44

Re: Bisakah Slims Mengirim email di localhost?

Post by Tjilebout » 01 Oct 2014, 11:53

saya punya masalah yg sama.semua sdh spt contoh dan akun Gmail saya sdh saya setting IMAPnya tp msh belum masuk emailnya?

endazone
Posts: 16
Joined: 09 Dec 2011, 13:17

Re: Bisakah Slims Mengirim email di localhost?

Post by endazone » 05 Apr 2016, 11:28

Koq saya coba tetap tidak bisa.

Post Reply