I tried to expand the 'from' field of my email, the code looks something like this:
name = 'Hans Müller';
mail = strcat(name, '<h.mueller@test.org>');
setpref('Internet','E_mail',mail);
setpref('Internet','SMTP_Server','mail');
sendmail('input@test.org','New post',body);
That actually worked really well, but instead of the umlauts in the name of sender can see in outlook a black diamond - "M�ller" . I tried to change the default charset with
setpref ('Internet', 'E_mail_Charset', 'utf-8')
and
setpref ('Internet', 'E_mail_Charset', 'iso-8859-1')
Both variants were unsuccessful, the charset 'iso-8859-1' spoiled the umlauts in the body, which used to look normal.
Does anyone have any idea how to solve the problem? As I said, the body HTML text is absolutely fine, only the name of sender is not displayed correctly. Thanks in advance.