Παρουσιολόγιο as email title

Discussion forum about Anuko Time Tracker

Παρουσιολόγιο as email title

Postby dell810 » Fri Feb 03, 2017 12:05 pm

Hi,
sending email reports displays from = Παρουσιολόγιο
My database has collation = utf8_unicode_ci
Is there a way to correct this?

Thanks
dell810
 
Posts: 22
Joined: Sat Oct 01, 2016 1:09 pm

Re: Παρουσιολόγιο as email title

Postby wrc » Sat Feb 04, 2017 12:10 am

dell810 wrote:Hi,
sending email reports displays from = Παρουσιολόγιο
My database has collation = utf8_unicode_ci
Is there a way to correct this?

Thanks


Looks like you are not providing enough details and it is not exactly clear (at least to to me) where the error is.

Is the problem with the email subject? Or with the email from field? Or within the title in the email body?

Is the corruption also seen on the report_send.php when you are about to email the report?

Is your Time Tracker modified? If so, how?
wrc
 
Posts: 191
Joined: Tue May 25, 2010 8:30 pm

Re: Παρουσιολόγιο as email title

Postby dell810 » Sat Feb 04, 2017 10:49 am

Sorry about this
/WEB-INF/config.php
define('SENDER', '"my-name" <no-reply@myemail.com>');
when email reach the recipient, displays the my-name => αροΟλόγιΞ

Thanks
dell810
 
Posts: 22
Joined: Sat Oct 01, 2016 1:09 pm

Re: Παρουσιολόγιο as email title

Postby dell810 » Sat Feb 04, 2017 10:50 am

Hi,
it is hard for me because I have no knowledge about php
Thanks
dell810
 
Posts: 22
Joined: Sat Oct 01, 2016 1:09 pm

Re: Παρουσιολόγιο as email title

Postby Nik » Sat Feb 04, 2017 8:55 pm

If you are using Greek characters in SENDER, you may want to try encoding them using UTF-8.

For example, for an English "Test" the Greek name is "Δοκιμή" and a UTF-8 encoded value would be =?UTF-8?B?zpTOv866zrnOvM6u?=

Therefore, your SENDER value would become:

Code: Select all
// Default sender for mail.
//
define('SENDER', '=?UTF-8?B?zpTOv866zrnOvM6u?= <no-reply@timetracker.anuko.com>');


Now, this will send a proper email, but the sender value on the report_send.php and invoice_send.php forms will display garbage. To fix this, download and install the latest version of Time Tracker and make sure you have IMAP PHP extension installed.

You can use this encoder: http://www.sendblaster.com/en/utf8-emai ... ct-encoder to encode Greek characters.

Hope it helps.
Nik
 
Posts: 326
Joined: Wed May 26, 2010 5:55 pm

Re: Παρουσιολόγιο as email title

Postby dell810 » Sun Feb 05, 2017 12:54 pm

it's ok.
Thanks a lot !!!
dell810
 
Posts: 22
Joined: Sat Oct 01, 2016 1:09 pm


Return to Time Tracker

Who is online

Users browsing this forum: Bing [Bot] and 2 guests