none
How to send localisez messages using EWS API 2.0?

    Question

  • Hi ,

     I am using EWS API 2.0 and send message using time in UTC. But when I am sending mail there is default message embedded in the mail by the exchange above the message body as below:

    When: Monday, January 6, 2014 4:00 PM-4:30 PM. UTC
    *~*~*~*~*~*~*~*~*~*

    But I have a issue as I am sending localized message to my German & French customers. So is there any properties etc.. by which I can get it localized to French or German?

    Thanks in Anticipation

    Varun


    Varun Yadav



    • Edited by Yadav Varun Friday, November 08, 2013 11:11 AM Typo
    Friday, November 08, 2013 11:08 AM

All replies

  • If you want the Meeting Request messages to be localized you need to set the MailboxCulture setting on the ExchangeService object. Eg to set it French you would use

     service.PreferredCulture = new System.Globalization.CultureInfo("fr-FR", true);

    Setting this will affect every attendee request for the meeting your creating.

    Cheers
    Glen

    Monday, November 11, 2013 3:03 AM
  • Thanks Glen.

    Is there any way we can set any property to completely block the message to embedded in the mail as it look awkward getting in mail?

    When: Monday, January 6, 2014 4:00 PM-4:30 PM. UTC
    *~*~*~*~*~*~*~*~*~*

    Regards

    Varun


    Varun Yadav

    Tuesday, November 19, 2013 2:37 PM
  • Not as far as I know, If you want it to use the Correct TimeZone instead of UTC you need to include the TimeZoneContext header in your request.

    Cheers
    Glen

    Wednesday, November 20, 2013 2:05 AM