Community discussions

 
thomsen
just joined
Topic Author
Posts: 21
Joined: Wed Sep 28, 2016 10:50 am
Location: Russia, Moscow

Change encoding for E-Mail notification

Wed Sep 28, 2016 11:51 am

I have a problem with encoding for email notification. Cyrillic symbols do not display correctly, for example notes for device. Most likely the reason is that emails are sent in us-ascii encoding, by default and i have no possibility to change it to UTF-8.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24277
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Change encoding for E-Mail notification

Wed Sep 28, 2016 12:07 pm

RouterOS does not support any encodings actually. Only A-Z and 0-9 can be used in most places.
No answer to your question? How to write posts
 
thomsen
just joined
Topic Author
Posts: 21
Joined: Wed Sep 28, 2016 10:50 am
Location: Russia, Moscow

Re: Change encoding for E-Mail notification

Wed Sep 28, 2016 2:01 pm

RouterOS does not support any encodings actually. Only A-Z and 0-9 can be used in most places.
Thanks!
 
gmick
just joined
Posts: 5
Joined: Thu Sep 29, 2016 11:52 am

Re: Change encoding for E-Mail notification

Thu Sep 29, 2016 12:01 pm

MIME-Version: 1.0
Content-type: text/html; charset=UTF-8
Insert this under first line in subject
 
thomsen
just joined
Topic Author
Posts: 21
Joined: Wed Sep 28, 2016 10:50 am
Location: Russia, Moscow

Re: Change encoding for E-Mail notification

Thu Oct 27, 2016 12:17 pm

MIME-Version: 1.0
Content-type: text/html; charset=UTF-8
Insert this under first line in subject
gmick, thank you very much. I've inserted this line below the subject it works perfect!
 
Mobistek
just joined
Posts: 3
Joined: Sat Dec 21, 2013 12:22 pm

Re: Change encoding for E-Mail notification

Mon Jul 10, 2017 2:50 pm

Hmm can u please post here exacly where to put this code? Cause I coudn't make it work...
Actually I need UTF in body of e-mail message.
 
thomsen
just joined
Topic Author
Posts: 21
Joined: Wed Sep 28, 2016 10:50 am
Location: Russia, Moscow

Re: Change encoding for E-Mail notification

Tue Jul 11, 2017 4:11 pm

Hmm can u please post here exacly where to put this code? Cause I coudn't make it work...
Actually I need UTF in body of e-mail message.
See screenshot here:
Image
 
tabate47
Member
Member
Posts: 435
Joined: Wed Mar 13, 2013 5:23 am
Location: Los Angeles

Re: Change encoding for E-Mail notification

Tue Nov 13, 2018 9:48 pm

Here is my code. Where would I place the html portion?

[/tool e-mail send to=[/tool e-mail get from] cc="" subject=("Event at $[/system identity get name] ") body=($vMailBody)]

Who is online

Users browsing this forum: No registered users and 3 guests