Hallo:
I'm trying to send a mail with special characters (spanish characters: áéíóñÑ).
If I send it from Outlook, a tag in header is added with:
Content-Type: text/plain; charset="iso-8859-1"
and its displayed fine in Outlook and Kontact.
If I send it form Kontact, a tag in header is added with:
Content-Type: text/plain; charset="utf-8"
and its displayed fine in Outlook and Kontact.
But if I send it from command line, with:
echo "Message áéíóúñÑ" | mail -s "Test" user@dom.com
No tag header is included and it's displayed wrong in Kontact and Outlook.
Tryied with
O DefaultCharSet=iso-8859-1
and
O DefaultCharSet=utf-8
in sendmail.cf and restarted service but no tag added.
Please, can you tell me how to configure sendmail to add a header to specify charset?
Thanks
Felipe
I'm trying to send a mail with special characters (spanish characters: áéíóñÑ).
If I send it from Outlook, a tag in header is added with:
Content-Type: text/plain; charset="iso-8859-1"
and its displayed fine in Outlook and Kontact.
If I send it form Kontact, a tag in header is added with:
Content-Type: text/plain; charset="utf-8"
and its displayed fine in Outlook and Kontact.
But if I send it from command line, with:
echo "Message áéíóúñÑ" | mail -s "Test" user@dom.com
No tag header is included and it's displayed wrong in Kontact and Outlook.
Tryied with
O DefaultCharSet=iso-8859-1
and
O DefaultCharSet=utf-8
in sendmail.cf and restarted service but no tag added.
Please, can you tell me how to configure sendmail to add a header to specify charset?
Thanks
Felipe