Ews API change Mailsignature

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

In recent years has been in the mail system, is based on the Microsoft   Exchange to do a Web Mail system, including mail, draft, did not read the list, contacts, contact groups, email signature, big annex upload etc.……

The main function of:

       Mail:

       Do not read the list:

       Draft: not burdensome, and 126, QQmail function,

       break,

       Contacts:

       Contact group: all data synchronous OWA, and provide to the search and other simple business logic. For example, move, copy and so on

       break,

       Big annex upload: to talk about the goal, in a multi user, high concurrency situations, pressure, maximum reduction on the server in simple terms, is to use the input control to upload, use IIS to upload content hosting, read a part from memory, written into the hard disk, and then cycle, until all the the files have been uploaded, then according to the test, 100 people at the same time to upload 600M files on the server memory pressure of not more than 100M; the code is already very mature, the user is 4W+ (can be sold, details: 382200929); compatibility

Net 2 - version 4.5,

       break,

   The signature of the message:

             Attach the code:

          Folder Root = Folder.Bind(MyExchangeService, WellKnownFolderName.Root);

                 UserConfiguration OWAConfig = UserConfiguration.Bind(MyExchangeService, "OWA.UserOptions",

                 Root.ParentFolderId, UserConfigurationProperties.All);

          String hsHtmlSigniture = "www.blah.com\">Glen Scales";

            String stTextSig = "Text sig";

          if (OWAConfig.Dictionary.ContainsKey("signaturehtml"))

          {

            OWAConfig.Dictionary["signaturehtml"] = hsHtmlSigniture;

          }

          else

          {

            OWAConfig.Dictionary.Add("signaturehtml", hsHtmlSigniture);

          }

          if (OWAConfig.Dictionary.ContainsKey("signaturetext"))

          {

            OWAConfig.Dictionary["signaturetext"] = stTextSig;

          }

          else

          {

            OWAConfig.Dictionary.Add("signaturetext", stTextSig);

          }

          OWAConfig.Update();

   break,

  The Microsoft Ews unfamiliar can ask me, Shenzhen programmer exchange group: 182202961 we discuss



Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Cindy at November 14, 2013 - 10:42 PM