webmeup Posted March 9, 2012 Share Posted March 9, 2012 halo. saya lagi coba install PrestaShop, pertanyaannya kenapa email (welcome/awaiting payment, dll) yang dikirim ke customer itu selalu menampilkan "dG9ueSBsZXVuZw==" sebagai nama customer dan bukannya nama sesuai pendaftaran (harusnya kan firstname & last name). saya menggunakan versi 1.4.7.0. Mohon input and advis nya ya. Terima kasih. Wira Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted March 12, 2012 Share Posted March 12, 2012 Periksa data Nama customer yang tersimpan di database, jika datanya normal berarti ada masalah di file proses pengiriman atau di file template email. Periksa email template file di directory mail Re upload file yang berkaitan dengan pengiriman email (dalam directory controller dan classes) Link to comment Share on other sites More sharing options...
webmeup Posted March 14, 2012 Author Share Posted March 14, 2012 thannks gonebdg .. nama customer di database looks bener sih. di body email yang terkirim juga nama customer tersapa dengan benar (i.e. first name dan last name nya bener ). mau re-upload file yg berkaitan nya bagimana yah? thanks banget .. Link to comment Share on other sites More sharing options...
webmeup Posted March 14, 2012 Author Share Posted March 14, 2012 penasaran, jadinya saya uninstalled PrestaShop nya, lalu reinstall ulang. langsung testing register dummy customer, welcome email yang dikirim oleh Prestashop nya sekarang TO: nya adalah a2VtYWxhIHdpcmFuYXRh (dan di body welcome email nya menampilkan firstname lastname dengan benar ). Haduh haduh.... bagaimana ya ? Link to comment Share on other sites More sharing options...
prestanesia Posted March 15, 2012 Share Posted March 15, 2012 bahasa defaultnya diset ke eng apa ind? Link to comment Share on other sites More sharing options...
webmeup Posted March 15, 2012 Author Share Posted March 15, 2012 bro, Back Office > Preferences > Localization : Language locale: en bahasa defaultnya diset ke eng apa ind? Link to comment Share on other sites More sharing options...
prestanesia Posted March 15, 2012 Share Posted March 15, 2012 Aneh juga, kyk To nya kyk ketuker ma password ? btw, waktu pendaftaran & kirim welcome email, rutinnya ada di Conroller\AuthController.php, persisnya di baris ini if ( !Mail::Send((int)self::$cookie->id_lang, 'account', Mail::l('Welcome!', (int)self::$cookie->id_lang), array('{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{email}' => $customer->email, '{passwd}' => Tools::getValue('passwd')), $customer->email, $customer->firstname.' '.$customer->lastname) ) To nya itu yang diisi dari $customer->email (jelas ga mungkin di enkripsi). Sementara data dalam array itu yang dikirim ke template email (mails\en\account.html dan mails\en\account.txt) Link to comment Share on other sites More sharing options...
webmeup Posted March 15, 2012 Author Share Posted March 15, 2012 ember bro.. display name nya seperti 'password,' tapi email address nya bener. ane cari-cari referensi di internet hanya ada 2 orang lain yg mengalami hal yg sama, itu juga belum ada solusi nya .. Link to comment Share on other sites More sharing options...
prestanesia Posted March 15, 2012 Share Posted March 15, 2012 kalo rajin si di debug baris diatas, set breakpoint pas kirim email. btw, dah coba di hosting yg laen ? Link to comment Share on other sites More sharing options...
Zaid Posted March 15, 2012 Share Posted March 15, 2012 edit /classes/Mail.php baris 105 $to_list->addTo($addr, base64_encode($to_name)); menjadi $to_list->addTo($addr, '=?UTF-8?B?'.base64_encode($to_name).'?='); dan baris ke 111 $to = new Swift_Address($to, base64_encode($toName)); menjadi $to = new Swift_Address($to, '=?UTF-8?B?'.base64_encode($toName).'?='); sumber: http://forge.prestashop.com/browse/PSCFI-4931 Link to comment Share on other sites More sharing options...
webmeup Posted March 21, 2012 Author Share Posted March 21, 2012 thanks Zaid, dkk.. works well sekarang... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now