Mail attatchment name encoding problem RRS feed

  • Question

  • Hi. When my email attatchment file name contains letters like "õäöü" then e-mail reciever sees the filename like ""=?utf-8?B?VsO1bGFzYWxkbyBhcnZlc3R1cyBMdXhp\"

    I am using System.Net.Mail.Attachment. I have tried to set the attachment.NameEncoding to UTF-8, ASCII, Default, Unicode, UTF32, UTF7 but that did help and no more options are available.

    I also tried to send e-mail to different adresses but the result is the same - filename is messed up.

    Please advice...

    • Moved by OmegaMan Tuesday, April 29, 2014 6:01 PM Not WPF issue
    Thursday, March 15, 2012 8:19 AM