Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

SendEmail and special character in State Machine Workflow

$
0
0

Hi,


I use a SendEmail activity in a State Machine workflow (SharePoint 2010) to send an email.

The body message may contain french characters (é, è...) but it seems these characters cannot be used because they are automatically replaced (even through there is no problem logging them using SPWorkflow.CreateHistoryEvent)

        private void sendEmailToFixIncident_MethodInvoking(object sender, EventArgs e)
        {
            SendEmailTo = RetrieveEmailTo();
            SendEmailSubject = "something";
            LogComment(MessageBody()); //OK  élsève de l'orêal
            SendEmailBody = MessageBody(); //Received email with C)lsC(ve de l'orC*al
        }



Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>