none
Language in messages room mailbox. RRS feed

  • Question

  • Hi,

    We have a sharepoint application used by users to make appointments in a room mailbox of an Exchange 2010 server.

    All servers in our organization are in English. The room mailbox and all user's mailboxes are configured in Spanish with cmdlets Set-Mailbox and Set-MailboxRegionalSettings.

    The Sharepoint application uses EWS to date the appointments, and uses impersonation.

    When a user makes an appointment with Outlook, he receives the answer from autoatendant in Spanish. When that user makes the appointment with Sharepoint application, he receives the same answer, but in English.

    Here is the code of the application making the appointment:

    System.Net.ServicePointManager.DefaultConnectionLimit = 20;

                ExchangeService result = null;

                SPSecurity.RunWithElevatedPrivileges(delegate()
                {
                    using (SPSite elevatedSite = new SPSite(idSite))
                    {
                        result = new ExchangeService(ExchangeVersion.Exchange2010_SP1);
                        result.Timeout = 300000;
                        ServicePointManager.ServerCertificateValidationCallback = (RemoteCertificateValidationCallback)Delegate.Combine(ServicePointManager.ServerCertificateValidationCallback, new RemoteCertificateValidationCallback(ExchangeConnect.RemoteCertificateValidationHandler));

                        NetworkCredential credentials = SecureStoreConnect.GetServiceCredentials(elevatedSite, Definitions.Exchange.SecureStoreName);
                        result.Credentials = credentials;
                        result.Url = new System.Uri(Definitions.Exchange.ExchangeServer);

                        if (SPContext.Current != null && SPContext.Current.Web != null && !string.IsNullOrEmpty(SPContext.Current.Web.CurrentUser.Email))
                        {
                            result.ImpersonatedUserId = new ImpersonatedUserId(ConnectingIdType.SmtpAddress, SPContext.Current.Web.CurrentUser.Email);
                        }
                    }
                });

                return result;

    We need to receive the autoatendant message in Spanish.

    So I need your help.

    Tuesday, May 31, 2016 8:45 AM