Mulai SLIMS Matoa ada fasilitas yang memudahkan pustakawan untuk memberitahukan keterlambatan dan denda via email menggunakan protokol SMTP (Simple Mail Transfer Protocol ) yang merupakan salah satu protokol yang umum digunakan untuk pengiriman email. Protokol ini dipergunakan untuk mengirimkan data dari komputer pengirim email ke server email penerima.
cara mengaktifkan SMTP :
1. buka sysconfig.inc.php, cari Mailing Settings kemudian isikan konfigurasi seperti di bawah ini sebagai catatan saya menggunakan smtp gmail :
/**
* Mailing Settings
*/
$sysconf['mail']['enable'] = true;
$sysconf['mail']['server'] = ‘ssl://smtp.gmail.com:465′; // SMTP server ————> SMTP gmail
$sysconf['mail']['server_port'] = 465; // the SMTP port ——————————–> Port gmail
$sysconf['mail']['auth_enable'] = true; // enable SMTP authentication —————> di buat enable
$sysconf['mail']['auth_username'] = ‘kangbudhi@gmail.com’; // SMTP account username ————-> username email yang akan kita gunakan
$sysconf['mail']['auth_password'] = ‘admin’; // SMTP account password——————————-> pasword email
$sysconf['mail']['from'] = ‘kangbudhi@gmail.com’;—————————————————->email pengirim
$sysconf['mail']['from_name'] = ‘SLiMS Administrator’;———————————————> nama pengirim bisa di ganti nama perpustakaan
$sysconf['mail']['reply_to'] = &$sysconf['mail']['from'];
$sysconf['mail']['reply_to_name'] = &$sysconf['mail']['from_name'];
* Mailing Settings
*/
$sysconf['mail']['enable'] = true;
$sysconf['mail']['server'] = ‘ssl://smtp.gmail.com:465′; // SMTP server ————> SMTP gmail
$sysconf['mail']['server_port'] = 465; // the SMTP port ——————————–> Port gmail
$sysconf['mail']['auth_enable'] = true; // enable SMTP authentication —————> di buat enable
$sysconf['mail']['auth_username'] = ‘kangbudhi@gmail.com’; // SMTP account username ————-> username email yang akan kita gunakan
$sysconf['mail']['auth_password'] = ‘admin’; // SMTP account password——————————-> pasword email
$sysconf['mail']['from'] = ‘kangbudhi@gmail.com’;—————————————————->email pengirim
$sysconf['mail']['from_name'] = ‘SLiMS Administrator’;———————————————> nama pengirim bisa di ganti nama perpustakaan
$sysconf['mail']['reply_to'] = &$sysconf['mail']['from'];
$sysconf['mail']['reply_to_name'] = &$sysconf['mail']['from_name'];
/**
tambahan setting smtp yahoo:
/**
* Mailing Settings
*/
$sysconf['mail']['enable'] = true;
$sysconf['mail']['server'] = ‘ssl://smtp.mail.yahoo.com:465′; // SMTP server ————> SMTP yahoo
$sysconf['mail']['server_port'] = 465; // the SMTP port——————————–> Port yahoo
$sysconf['mail']['auth_enable'] = true; // enable SMTP authentication —————> di buat enable
$sysconf['mail']['auth_username'] = ‘kang.budhi@yahoo.com’; // SMTP account username————-> username email yang akan kita gunakan
$sysconf['mail']['auth_password'] = ‘admin’; // SMTP account password——————————-> pasword email
$sysconf['mail']['from'] = ‘kang.budhi@yahoo.com’;—————————————————->email pengirim
$sysconf['mail']['from_name'] = ‘SLiMS Administrator’;———————————————> nama pengirim bisa di ganti nama perpustakaan
$sysconf['mail']['reply_to'] = &$sysconf['mail']['from'];
$sysconf['mail']['reply_to_name'] = &$sysconf['mail']['from_name'];
* Mailing Settings
*/
$sysconf['mail']['enable'] = true;
$sysconf['mail']['server'] = ‘ssl://smtp.mail.yahoo.com:465′; // SMTP server ————> SMTP yahoo
$sysconf['mail']['server_port'] = 465; // the SMTP port——————————–> Port yahoo
$sysconf['mail']['auth_enable'] = true; // enable SMTP authentication —————> di buat enable
$sysconf['mail']['auth_username'] = ‘kang.budhi@yahoo.com’; // SMTP account username————-> username email yang akan kita gunakan
$sysconf['mail']['auth_password'] = ‘admin’; // SMTP account password——————————-> pasword email
$sysconf['mail']['from'] = ‘kang.budhi@yahoo.com’;—————————————————->email pengirim
$sysconf['mail']['from_name'] = ‘SLiMS Administrator’;———————————————> nama pengirim bisa di ganti nama perpustakaan
$sysconf['mail']['reply_to'] = &$sysconf['mail']['from'];
$sysconf['mail']['reply_to_name'] = &$sysconf['mail']['from_name'];
/**
2. Contoh pengiriman notifikasi keterlambatan via email di SLIMS
a. send keterlambatan di menu sirkulasi
b. Overdue Notice, di email pemustaka / anggota perpustakaan
~~Selamat Mencoba~~
sumber : kangbudhi
thanks infonya ini min..
BalasHapushttp://cody.id/produk/power-supply/power-supply-cody-1502d/