Hi,
I have a strange issue with UTF-8 in some custom templates.
When I put header
or
in lost_password_email.txt
e-mails arrive with correct charset and there is no problem.
But when I try do it the same with f.e. per_email_limit_email_message.txt there it doesn't work.
Header in email is Content-type text/html (without utf-8).
per_email_limit_email_message.txt look like that:
I've tried changing thise email message to plain text and charset is still wrong.
Any advice how o resolve these problem?
I have a strange issue with UTF-8 in some custom templates.
When I put header
Code:
|?HEADER=Content-Type: text/plain; charset=utf-8|
Code:
|?HEADER=Content-Type: text/html; charset=utf-8|
e-mails arrive with correct charset and there is no problem.
But when I try do it the same with f.e. per_email_limit_email_message.txt there it doesn't work.
Header in email is Content-type text/html (without utf-8).
per_email_limit_email_message.txt look like that:
Code:
|?HEADER=Content-Type: text/html; charset=utf-8|
<html>
|?SUBJECT=Uwaga: Z twojego konta E-Mail zostalo wyslane `COUNT` wiadomości|
<center><table width=600 cellspacing=20px><tr><td id=main_text>
<h1>Wykryliśmy, że z adresu e-mail |EMAIL| wysłano ponad |COUNT| wiadomości w ciągu ostatnich 24h.</h1>
Możliwe, że twoje konto zostało przejęte przez spammerów albo wysłałeś więcej wiadomości niż zwykle. <br><br>
<h2>Dlaczego otrzymałem tę wiadomość?</h2>
Otrzymujesz ją, ponieważ domyślny limit (100 wysyłanych maili/24h) został przekroczony.<br>
Możliwe, że wysłałeś nieco więcej wiadomości niż zwykle. Być może jednak, twoje urządzenie z którego korzystasz (np: komputer, laptop, tablet, smartfon) jest zainfekowane i rozsyła spam.
Adres IP urządzenia, z którego wysłano ostatnią wiadomość to: |HOST|<br><br>
<h2>Co mogę zrobić?</h2>
Możesz odczekać z wysyłaniem kolejnych maili do następnego dnia lub zwiększyć indywidualny limit wysyłki wiadomości e-mail.<br>
Zmiany limitu może dokonać jedynie administrator kont pocztowych domeny nazwa-domeny-klienta.pl<br>
Administratorem jest z reguły osoba kontaktująca się ze Sprint Data Center w sprawach technicznych.<br><br>
|*if CAN_CHANGE_PASS="1"|
<h2>Dla pewności, zmieniaj hasło</h2>
Jeśli podejrzewasz, że twoje konto email zostało przejęte, zmień hasło pod adresem:
https://xxx.xx/CMD_CHANGE_EMAIL_PASSWORD
|*endif|
<span id=footer>================================<br>
Wiadomosc automatycznie wygenerowana przez |DEAMONNAME|
</span>
</td></tr></table>
</center>
<style>
* { font-family: segoe,verdana,sans-serif; font-size: 10pt; COLOR: gray; }
b { font-weight: bold; }
table {
border-radius:5px;
box-shadow: 5px 5px 10px #000000;
background: #28619c;
}
#main_text {
background: #eef6ff;
text-align: left;
padding: 20px;
border-radius:5px;
box-shadow: 2px 2px 15px #000000;
}
html {
background: #ffffff;
}
#footer {
COLOR: #cad4e0;
}
</style>
</html>
I've tried changing thise email message to plain text and charset is still wrong.
Any advice how o resolve these problem?