Replace OWA address book

Source: Internet
Author: User
Tags microsoft outlook

I,Terms

OWA:Microsoft Outlook Web Access

Ad:Active Directory

Ou:AdOrganization Unit in

 

II,Background

1. Use of an Office Automation System OWA as a mail system

2,The user finds it inconvenient to select the recipient when creating a new email, and the query function is not used to it. The user needs to replace the address book.

 

III,Implementation

1. an office The background user management system of the automation system is supported by the unified organizational structure management system. The organizational structure in this system is the same as the actual administrative structure, user Logon Name and related information and ad synchronization , AD ou

2, OWA Called when you click the "recipient", "cc", and so on.CodeIs C: \ Program Files \ exchsrvr \ exchweb \ 6.5.6944.0 [ Version Number ] \ Controls \ util_owa.js In Opengal To replace the address book, you only need to replace it in this method. Window Of URL You can.

3. Create A . NET Web application Program . The main function is to display the address book content (Implementation omitted)


4. var vretval = Window. showmodelessdialog (g_sbase + "? Cmd = dialog & template = dlg_gal & Ver = 6.5.6944.0 "+" & theme = "+ g_thid, rgparams," dialogheight: "+ nheight +" PX; dialogwidth: "+ nwidth +" PX; Status: No; resizable: Yes; help: No; "); replace it with the following statement

Window. open ("/myemailbook", "wmyemailbook", "scrollbars = Yes, resizable = Yes, Top =" + (screen. availheight-410)/2 + ", Left =" + (screen. availwidth-650)/2 + ", width = 650, Height = 410 ");

5,OWAThe previous code is to return the selection result through the object. After the replacement, the selected mail is implemented by directly assigning values to the objects in the parent window. Add the following code on the send button of our own address book:

When using parent.opener.doc ument. All. msgto. value = strto; when using parent.opener.doc ument. All. msgcc. value = strcc; when using parent.opener.doc ument. All. msgbcc. value = strbcc;

You canEmailThe address is added to the recipients (CC and BCC) of the sent email.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.