I am using a SendEmail method in a c# coded workflow for SP2010 to send out mails for approval, the problem is that for example "æøå" in the body turns into "C8C&C%".
Subject title however does not seem to be affected.
I have UTF-8 as outgoing e-mail setting in the central administration system settings (this can't be changed since it affects production environment).
Have checked out these links, but no luck implementing them so far(maybe you have working example for my code): vintentou.wordpress social.msdn,microsoft
My method goes like this:
private void SendEmail(String emailto, String title, String body)
{
SPSite site = new SPSite(SharepointMainSite);
SPWeb website = site.OpenWeb();
SPUtility.SendEmail(website, false, false, emailto, title, body);
}

0 commentaires:
Enregistrer un commentaire