Imail2006 联系人???问题解决

简介: 根据原理已经制作出相应的完美补丁,点save自动保存为utf-8,自动读取翻译成中文补丁下载 初步方案想法修改UserOptions.aspx文件查找 :    然后在下面添加: var mode="zhuan";function encode(obj,btn){    if(mode=="zhuan"){        obj.

根据原理已经制作出相应的完美补丁,点save自动保存为utf-8,自动读取翻译成中文
补丁下载

初步方案想法
修改UserOptions.aspx文件
查找 :

< asp:label  id =lblFullName  runat ="server"   /></ td >< td  class =contentLabelCell  valign =top  width ="80%" >

 

 然后在下面添加:

< ! --  UTF - 8转换插件 By:羽毛飞 Begin  -->
< input type = " text "  id = " code "  value = "" >
< input type = button onclick = encode(code,this) value = 转化 >
< script >
var mode
= " zhuan " ;
function  encode(obj,btn){
    
if (mode == " zhuan " ){
        obj.value
= obj.value.replace( / [ ^ u0000 - u00FF] / g, function ($ 0 ){return escape

($
0 ).replace( / (%u)( w{ 4 }) / gi, " &#x$2; " )});
        btn.value
= " 还原 " ;
        mode
= " huan " ;
    }
else {
        obj.value
= unescape(obj.value.replace( /& #x / g, ' %u').replace(/;/g,''));
        btn.value = " 转化 " ;
        mode
= " zhuan " ;
    }
}
</ script >
< span class = " STYLE1 " > (说明,将转化好的内容填入到下面全名) </ span >
< br >
< ! --  UTF - 8转换插件 By:羽毛飞  End   -->

保存。

完整的UserOptions.aspx文件:

 

< %@ Register TagPrefix = " ipsILB "  Namespace = " Ipswitch.Web.Client "  % >
< %@ page language = " c# "  inherits = " Ipswitch.Web.Client.UserOptions, App_Web_r1ymgwqt "  % >
< !DOCTYPE HTML  PUBLIC   " -//W3C//DTD HTML 4.0 Transitional//EN "   >
< html >
< head >
< title > User Preferences </ title >
        
< link href = " Cypress.css "  type = " text/css "  rel = " stylesheet " >
        
< style >
        TEXTAREA { WIDTH: 400px; HEIGHT: 110px }
    INPUT { FONT
- SIZE:  90 %; COLOR: black; FONT - FAMILY: Arial }
    
SELECT  { FONT - SIZE:  90 %; COLOR: black; FONT - FAMILY: Arial }
        .STYLE1 {color: #FF0000}
        
</ style >
        
< meta content = " Microsoft Visual Studio .NET 7.1 "  name = " GENERATOR " >
        
< meta content = " C# "  name = " CODE_LANGUAGE " >
        
< meta content = " JavaScript "  name = " vs_defaultClientScript " >
        
< meta content = " http://schemas.microsoft.com/intellisense/ie5 "  name = " vs_targetSchema " >
        
< script src = " javascripts/prototype.js "  type = " text/javascript " ></ script >
        
< asp:literal id = " litJavascript "  runat = " server " ></ asp:literal >
        
< script language = " JavaScript " >
        
if  (top.location.href.toLowerCase().indexOf( " useroptions.aspx " ) ! =   - 1 )
        {
            top.location.href 
=   " default.aspx " ;
        }
        
        
function  AutoResponderClick()
        {
        document.Form1.txtAutoResponderMessage.disabled 
=  (!

(document.Form1.ckAutoRespondEnable.checked));
        document.Form1.txtAutoRespondForwardTo.disabled 
=  (!

(document.Form1.ckAutoRespondEnable.checked));
        }    
        
        
function  VacationMessageClick()
        {
        document.Form1.txtVacationMessage.disabled 
=  (!

(document.Form1.ckVacationMessageEnable.checked));
        }    
        
        
function  PopHiddenFields()
        {
            document.Form1.hdnAutoResponderMessage.value 
=  

document.Form1.txtAutoResponderMessage.value;
            document.Form1.hdnAutoRespondForwardTo.value 
=  

document.Form1.txtAutoRespondForwardTo.value;
        }
        
        
function  getViewportHeight() 
        { 
             var y; 

             
if  (typeof window.innerHeight ! =   ' undefined') 
             { 
                 y 
=  window.innerHeight; 
             } 
             
else   if  (typeof document.documentElement ! =   ' undefined' 
                  &&  typeof document.documentElement.clientHeight ! =  
                 
' undefined' && document.documentElement.clientHeight != 0) 
             { 
                 y 
=  document.documentElement.clientHeight; 
             } 
             
else  
             { 
                 y 
=  document.getElementsByTagName( ' body')[0].clientHeight; 
             } 

             return y; 
        }
    
        window.onresize 
=  SizeWindow;

        
function  SizeWindow()
        {
            var y 
=  getViewportHeight();
            y 
=  y  -  document.getElementById( ' ButtonBar').offsetHeight;
            document.getElementById( ' dataDiv').style.height = y + 'px';
        }

        
function  UpdateAR(request)
        {

            var nodeResult 
=  request.responseXML.getElementsByTagName( " result " );
            var node;
            node
= nodeResult[ 0 ].getElementsByTagName( " error " );
            
if  (node[ 0 ] ! =   null )
            {
                alert(node[
0 ].childNodes[ 0 ].nodeValue);
            }
            
else
            {
                node
= nodeResult[ 0 ].getElementsByTagName( " Checked " );
                document.Form1.ckAutoRespondEnable.checked 
=  (node[ 0 ].childNodes[ 0 ].nodeValue 

==   " True " );

                node
= nodeResult[ 0 ].getElementsByTagName( " ForwardTo " );
                
if  (node[ 0 ].childNodes[ 0 ] ! =  undefined)
                {
                    document.Form1.txtAutoRespondForwardTo.value 
=  node[ 0 ].childNodes

[
0 ].nodeValue;
                }
                
else
                    document.Form1.txtAutoRespondForwardTo.value 
=   ' ';
                
                node
= nodeResult[ 0 ].getElementsByTagName( " Message " );
                
if  (node[ 0 ].childNodes[ 0 ] ! =  undefined)
                {
                    document.Form1.txtAutoResponderMessage.value 
=  node[ 0 ].childNodes

[
0 ].nodeValue;
                }
                
else
                    document.Form1.txtAutoResponderMessage.value 
=   ' ';
                    
                AutoResponderClick();                
            }
        }
                
        
</ script >
</ head >
    
< body bgcolor = " #ece9d8 "  onload = " SizeWindow(); "  style = " overflow:auto "   >
        
< form id = " Form1 "  method = " post "  runat = " server " >
            
< input type = " hidden "  id = " hdnAutoRespondForwardTo "  name = " hdnAutoRespondForwardTo "  

runat
= " server "   />
            
< input type = " hidden "  id = " hdnAutoResponderMessage "  name = " hdnAutoResponderMessage "  

runat
= " server "   />
            
< input type = " hidden "  id = " hdnAutoRespondFolder "  name = " hdnAutoRespondFolder "  

runat
= " server "   />
            
< input type = " hidden "  id = " hdnOrigPreviewExists "  name = " hdnOrigPreviewExists "  

runat
= " server "   />
            
< input type = " hidden "  id = " hdnEnableUsageBar "  name = " hdnEnableUsageBar "  runat = " server "   />
            
< table id = " ButtonBar "  class = " ButtonBarBG "  cellspacing = " 0 "  cellpadding = " 0 "  width = " 100% "  

border
= " 0 " >
                
< tr >
                    
< td class = " outlookTitleCell "  nowrap width = " 100% "  

colspan
= " 2 " >< asp:label id = " lblUserOptsHeader "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td class = " ButtonBar "  id = " savecol "  style = " PADDING-RIGHT: 10px; 

PADDING
- LEFT : 10px; HEIGHT: 24px "  nowrap align= " center "  name= " savecol "  

onmouseover
= " this.className='ButtonBarHover' "  onmouseout = " this.className='ButtonBar' " >
                    
< ipsILB:ImageLinkButton id = " lnkSave "  tabindex = " 1 "  runat = " server "  

cssclass
= " NoUnderline "  ImageUrl = " images/icn_save_16.gif "  ImageAlign = " absmiddle "  

onclick
= " lnkSave_Click " ></ ipsILB:ImageLinkButton >
                    
</ td >
                    
< td width = " 95% " >& nbsp; </ td >
                
</ tr >
            
</ table >
            
< div id = " dataDiv "  style = " overflow:scroll;width:100%;height:100% " >
            
< table cellspacing = " 3 "  cellpadding = " 0 "  width = " 100% "  height = " 100% "  border = " 0 " >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label id = " lblUserOptsGeneral "  

runat
= " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = top width = 40  rowspan = 2 >< img 

src
= " images/icn_general_settings_24.gif "  align = " absMiddle " ></ td >
                    
< td class = contentLabelCell valign = top nowrap >< br >
                    
< asp:label id = lblFullName runat = " server "   /></ td >< td 

class
= contentLabelCell valign = top width = " 80% " >
                    
< ! --  UTF - 8转换插件 By:羽毛飞 Begin  -->
< input type = " text "  id = " code "  value = "" >
< input type = button onclick = encode(code,this) value = 转化 >
< script >
var mode
= " zhuan " ;
function  encode(obj,btn){
    
if (mode == " zhuan " ){
        obj.value
= obj.value.replace( / [ ^ u0000 - u00FF] / g, function ($ 0 ){return escape

($
0 ).replace( / (%u)( w{ 4 }) / gi, " &#x$2; " )});
        btn.value
= " 还原 " ;
        mode
= " huan " ;
    }
else {
        obj.value
= unescape(obj.value.replace( /& #x / g, ' %u').replace(/;/g,''));
        btn.value = " 转化 " ;
        mode
= " zhuan " ;
    }
}
</ script >
< span class = " STYLE1 " > (说明,将转化好的内容填入到下面全名) </ span >
< br >
< ! --  UTF - 8转换插件 By:羽毛飞  End   -->     
                    
< asp:textbox id = txtFullName runat = " server "  width = " 240px "  

></ asp:textbox >
                    
< span class = " STYLE1 " > (转化好的填入到这里!) </ span >             

        
</ td >
                
</ tr >
                
< tr >
                    
< td class = contentLabelCell valign = top nowrap >< asp:label 

id
= lblEmailAddr runat = " server "   /></ td >
                    
< td class = contentLabelCell valign = top width = " 80% " >< asp:textbox 

id
= txtEmailAddr runat = " server "  width = " 240px " ></ asp:textbox >< asp:regularexpressionvalidator id = revEmailAddress 

runat
= " server "  enableclientscript = " False "  display = " Dynamic "  controltovalidate = " txtEmailAddr "  

validationexpression
= " ((&quot;+.+&quot;)|([w!#$%&amp;'*+-/=?^_`{}|~])|([w!#$%&amp;'*+-/=?

^ _` { } |~] + ([ . w!# $% & amp; ' *+-/=?^_`{}|~]*)+[w!#$%&amp;'*+-/=?^_`{}|~]))+@+[w!#$%

& amp; ' *+-/=?^_`{}|~]+([.w!#$%&amp;'*+-/=?^_`{}|~]*)+[w!#$%&amp;'*+-/=?^_`{}

|~] " ></asp:regularexpressionvalidator></td>
                 </ tr >
                
< tr >
                    
< td valign = top width = 40 ></ td >
                    
< td class = contentLabelCell valign = top nowrap >< asp:label 

id
= " lblUserOptsAddToForwardTo "  runat = " server " ></ asp:label ></ td >
                    
< td class = contentLabelCell valign = top width = " 100% " >< asp:textbox 

id
= " txtForwardAddress "  runat = " server "  width = " 240px " ></ asp:textbox ></ td ></ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >
                        
< asp:checkbox id = " ckShowMessagePreview "  runat = " server "  

text
= " Show Message Preview Pane "  checked = " True " ></ asp:checkbox ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label 

id
= " lblUserOptsChangePwdText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 "  rowspan = " 3 " >< img 

src
= " images/icn_changepwd_24.gif "  align = " absMiddle " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >< asp:label id = " lblPwdMsg "  

runat
= " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td class = " contentLabelCell " >< asp:label id = " lblUserOptsNewPwdText "  

runat
= " server " ></ asp:label ></ td >
                    
< td class = " contentLabelCell " >< asp:textbox id = " txtNewPwd "  

runat
= " server "  width = " 150px "  text = ""  textmode = " Password "  maxlength = " 30 " ></ asp:textbox >< asp:customvalidator 

id
= " PasswordCustVal "  runat = " server "  controltovalidate = " txtNewPwd "  display = " Dynamic "  

onservervalidate
= " InvalidPasswordCheck "  enableclientscript = " False " ></ asp:customvalidator >< asp:customvalidator 

id
= " RetypePwdCustVal "  runat = " server "  controltovalidate = " txtPwdRetype "  display = " Dynamic "  

onservervalidate
= " InvalidPasswordRetypeCheck "  enableclientscript = " False " ></ asp:customvalidator ></ td >
                
</ tr >
                
< tr >
                    
< td class = " contentLabelCell " >< asp:label id = " lblUserOptsRetypePwdText "  

runat
= " server " ></ asp:label ></ td >
                    
< td class = " contentLabelCell " >< asp:textbox id = " txtPwdRetype "  

runat
= " server "  width = " 150px "  text = ""  textmode = " Password "  maxlength = " 30 " ></ asp:textbox ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label 

id
= " lblUserOptsComposingText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 "  valign = " top " >
                    
< table cellpadding = " 0 "  cellspacing = " 0 "  border = " 0 " >
                    
< tr >
                        
< td valign = " top "  rowspan = " 6 " >< img 

src
= " images/icn_compose_task_24.gif "  align = " absMiddle " ></ td >
                        
< td class = " contentLabelCell " >< asp:label 

id
= " lblUserDefaultMsgEncoding "  runat = " server " ></ asp:label >& nbsp; & nbsp; </ td >
                        
< td class = " contentLabelCell "  valign = " top " >< asp:DropDownList 

id
= " drpMessageCharset "  runat = " server " ></ asp:DropDownList ></ td >
                    
</ tr >
                    
< tr >
                        
< td class = " contentLabelCell " >< asp:label id = " lblMessageStyle "  

runat
= " server " ></ asp:label >& nbsp; & nbsp; </ td >
                        
< td class = " contentLabelCell "  valign = " top " >< asp:DropDownList 

id
= " drpMessageStyle "  runat = " server " ></ asp:DropDownList ></ td >
                    
</ tr >
                    
< tr >
                        
< td class = " contentLabelCell "  valign = " top "  nowrap >< asp:label 

id
= " lblUserOptsOpenComposeIn "  runat = " server " ></ asp:label >& nbsp; & nbsp; </ td >
                        
< td class = " contentLabelCell "  valign = " top " >
                            
< asp:dropdownlist id = " drpComposeIn "  runat = " server " >
                                
< asp:listitem value = " 1 " ></ asp:listitem >
                                
< asp:listitem value = " 0 " ></ asp:listitem >
                            
</ asp:dropdownlist ></ td >
                    
</ tr >
                    
< tr >
                      
< td class = " contentLabelCell "  colspan = " 2 " >< asp:checkbox 

id
= " ckSaveCopyToSent "  runat = " server "  checked = " True " ></ asp:checkbox ></ td >
                    
</ tr >
                    
< tr >
                      
< td class = " contentLabelCell "  colspan = " 2 " >< asp:checkbox 

id
= " chkSaveRecip "  runat = " server "  checked = " false " ></ asp:checkbox ></ td >
                    
</ tr >
                    
< tr >
                      
< td class = " contentLabelCell "  colspan = " 2 " >< asp:checkbox 

id
= " chkEnableAutoSuggest "  runat = " server "  checked = " true " ></ asp:checkbox ></ td >
                    
</ tr >
                    
</ table >     
                    
</ td >
                
</ tr >     
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label 

id
= " lblUserOptsForwardingText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 " >< img src = " images/icn_forwarding_24.gif "  

align
= " absMiddle " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >
                        
< p >< asp:checkbox id = " ckFwdIncludeOriginal "  runat = " server "  

checked
= " True " ></ asp:checkbox >& nbsp; & nbsp; & nbsp; & nbsp;
                            
< asp:checkbox id = " ckIncludeAttachments "  runat = " server "  

checked
= " True " ></ asp:checkbox ></ p >
                    
</ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label 

id
= " lblUserOptsReplyingText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 " >< img src = " images/icn_replying_24.gif "  

align
= " absMiddle " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >< asp:checkbox 

id
= " ckReplyIncludeOriginal "  runat = " server "  checked = " True " ></ asp:checkbox ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label 

id
= " lblUserDeleteOptionsText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 " >< img src = " images/mail_delete_24.gif "  

align
= " absMiddle " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >< asp:radiobutton 

id
= " rdoMoveToDeleted "  runat = " server "  checked = " True "  groupname = " DeleteOptions " ></ asp:radiobutton >& nbsp;
                        
< asp:radiobutton id = " rdoPurgeMessage "  runat = " server "  

groupname
= " DeleteOptions " ></ asp:radiobutton >< img height = " 5 "  alt = ""  src = " images/sp.gif "  width = " 40 "  border = " 0 " >
                        
< asp:checkbox id = " ckConfirmBeforeDelete "  runat = " server "  

checked
= " True " ></ asp:checkbox ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label 

id
= " lblUserAutoResponderText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 "  rowspan = " 4 " >< img 

src
= " images/icn_autoresponder_24.gif "  align = " absMiddle " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >< asp:label 

id
= " lblUserFolderText "  runat = " server " ></ asp:label >< asp:dropdownlist runat = " server "  id = " drpAutoRespondFolder "  

></ asp:dropdownlist ></ td >
                
</ tr >
                
< tr >
                    
< td class = " contentLabelCell "  colspan = " 2 " >
                        
< asp:checkbox id = " ckAutoRespondEnable "  runat = " server "  

text
= " Enable " ></ asp:checkbox >
                    
</ td >
                
</ tr >
                
< tr >
                    
< td class = " contentLabelCell "  colspan = " 2 " >< asp:label 

id
= " lblUserAfterRespondingText "  runat = " server " ></ asp:label >< input id = " txtAutoRespondForwardTo "  type = " text "  

size
= " 50 "  name = " txtAutoRespondForwardTo "  runat = " server " ></ td >
                
</ tr >
                
< tr >
                    
< td class = " contentLabelCell "  colspan = " 2 " >< asp:label 

id
= " lblUserMessageText "  runat = " server "  font - bold = " True " ></ asp:label >< br >
                        
< textarea id = " txtAutoResponderMessage "  

name
= " txtAutoResponderMessage "  runat = " server " ></ textarea ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label 

id
= " lblUserSignatureText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 " >< img src = " images/icn_signature_24.gif "  

align
= " absMiddle " ></ td >
                    
< td colspan = " 2 " >< textarea id = " txtSignature "  name = " txtSignature "  

runat
= " server " ></ textarea ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label 

id
= " lblUserVacationMsgText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 "  rowspan = " 2 " >< img 

src
= " images/icn_vacation_24.gif "  align = " absMiddle " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >
                        
< asp:checkbox id = " ckVacationMessageEnable "  

runat
= " server " ></ asp:checkbox >
                    
</ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 2 " >< textarea id = " txtVacationMessage "  

name
= " txtVacationMessage "  runat = " server " ></ textarea ></ td >
                
</ tr >
            
</ table >
            
</ div >
        
</ form >
        
< script type = " text/javascript " >
        AutoResponderClick();
        
</ script >
    
</ body >
</ html >

感谢無夜遊民修改完善!完美自动版UserOptions.aspx代码:

< %@ Register TagPrefix = " ipsILB "  Namespace = " Ipswitch.Web.Client "  % >
< %@ page language = " c# "  inherits = " Ipswitch.Web.Client.UserOptions, App_Web_r1ymgwqt "  % >
< !DOCTYPE HTML  PUBLIC   " -//W3C//DTD HTML 4.0 Transitional//EN "   >
< html >
    
< head >
        
< title > User Preferences </ title >
        
< link href = " Cypress.css "  type = " text/css "  rel = " stylesheet " >
        
< style > TEXTAREA { WIDTH: 400px; HEIGHT: 110px }
    INPUT { FONT
- SIZE:  90 %; COLOR: black; FONT - FAMILY: Arial }
    
SELECT  { FONT - SIZE:  90 %; COLOR: black; FONT - FAMILY: Arial }
        
</ style >
        
< meta content = " Microsoft Visual Studio .NET 7.1 "  name = " GENERATOR " >
        
< meta content = " C# "  name = " CODE_LANGUAGE " >
        
< meta content = " JavaScript "  name = " vs_defaultClientScript " >
        
< meta content = " http://schemas.microsoft.com/intellisense/ie5 "  name = " vs_targetSchema " >
        
< script src = " javascripts/prototype.js "  type = " text/javascript " ></ script >
        
< asp:literal id = " litJavascript "  runat = " server " ></ asp:literal >
        
< script language = " JavaScript " >
        
if  (top.location.href.toLowerCase().indexOf( " useroptions.aspx " ) ! =   - 1 )
        {
            top.location.href 
=   " default.aspx " ;
        }
        
        
function  AutoResponderClick()
        {
        document.Form1.txtAutoResponderMessage.disabled 
=  (!(document.Form1.ckAutoRespondEnable.checked));
        document.Form1.txtAutoRespondForwardTo.disabled 
=  (!(document.Form1.ckAutoRespondEnable.checked));
        }    
        
        
function  VacationMessageClick()
        {
        document.Form1.txtVacationMessage.disabled 
=  (!(document.Form1.ckVacationMessageEnable.checked));
        }    
        
        
function  PopHiddenFields()
        {
            document.Form1.hdnAutoResponderMessage.value 
=  document.Form1.txtAutoResponderMessage.value;
            document.Form1.hdnAutoRespondForwardTo.value 
=  document.Form1.txtAutoRespondForwardTo.value;
        }
        
        
function  getViewportHeight() 
        { 
             var y; 

             
if  (typeof window.innerHeight ! =   ' undefined') 
             { 
                 y 
=  window.innerHeight; 
             } 
             
else   if  (typeof document.documentElement ! =   ' undefined' 
                  &&  typeof document.documentElement.clientHeight ! =  
                 
' undefined' && document.documentElement.clientHeight != 0) 
             { 
                 y 
=  document.documentElement.clientHeight; 
             } 
             
else  
             { 
                 y 
=  document.getElementsByTagName( ' body')[0].clientHeight; 
             } 

             return y; 
        }
    
        window.onresize 
=  SizeWindow;

        
function  SizeWindow()
        {
            var y 
=  getViewportHeight();
            y 
=  y  -  document.getElementById( ' ButtonBar').offsetHeight;
            document.getElementById( ' dataDiv').style.height = y + 'px';
        }

        
function  UpdateAR(request)
        {

            var nodeResult 
=  request.responseXML.getElementsByTagName( " result " );
            var node;
            node
= nodeResult[ 0 ].getElementsByTagName( " error " );
            
if  (node[ 0 ] ! =   null )
            {
                alert(node[
0 ].childNodes[ 0 ].nodeValue);
            }
            
else
            {
                node
= nodeResult[ 0 ].getElementsByTagName( " Checked " );
                document.Form1.ckAutoRespondEnable.checked 
=  (node[ 0 ].childNodes[ 0 ].nodeValue  ==   " True " );

                node
= nodeResult[ 0 ].getElementsByTagName( " ForwardTo " );
                
if  (node[ 0 ].childNodes[ 0 ] ! =  undefined)
                {
                    document.Form1.txtAutoRespondForwardTo.value 
=  node[ 0 ].childNodes[ 0 ].nodeValue;
                }
                
else
                    document.Form1.txtAutoRespondForwardTo.value 
=   ' ';
                
                node
= nodeResult[ 0 ].getElementsByTagName( " Message " );
                
if  (node[ 0 ].childNodes[ 0 ] ! =  undefined)
                {
                    document.Form1.txtAutoResponderMessage.value 
=  node[ 0 ].childNodes[ 0 ].nodeValue;
                }
                
else
                    document.Form1.txtAutoResponderMessage.value 
=   ' ';
                    
                AutoResponderClick();                
            }
        }
        
function  TransformName()
        {
            document.Form1.txtFullName.value 
=  document.Form1.txtFullName.value.replace( / [ ^ u0000 - u00FF] / g, function ($ 0 ){return escape($ 0 ).replace( / (%u)( w{ 4 }) / gi, " &#x$2; " )});
        }    
        
function  UnTransformName()
        {
            document.Form1.txtFullName.value 
=  unescape(document.Form1.txtFullName.value.replace( /& #x / g, ' %u').replace(/;/g,''));
        }
        
</ script >
    
</ head >
    
< body bgcolor = " #ece9d8 "  onLoad = " SizeWindow(); "  style = " overflow:auto "   >
        
< form id = " Form1 "  method = " post "  runat = " server "  onSubmit = " javascript:TransformName(); " >
            
< input type = " hidden "  id = " hdnAutoRespondForwardTo "  name = " hdnAutoRespondForwardTo "  runat = " server "   />
            
< input type = " hidden "  id = " hdnAutoResponderMessage "  name = " hdnAutoResponderMessage "  runat = " server "   />
            
< input type = " hidden "  id = " hdnAutoRespondFolder "  name = " hdnAutoRespondFolder "  runat = " server "   />
            
< input type = " hidden "  id = " hdnOrigPreviewExists "  name = " hdnOrigPreviewExists "  runat = " server "   />
            
< input type = " hidden "  id = " hdnEnableUsageBar "  name = " hdnEnableUsageBar "  runat = " server "   />
            
< table id = " ButtonBar "  class = " ButtonBarBG "  cellspacing = " 0 "  cellpadding = " 0 "  width = " 100% "  border = " 0 " >
                
< tr >
                    
< td class = " outlookTitleCell "  nowrap width = " 100% "  colspan = " 2 " >< asp:label id = " lblUserOptsHeader "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td class = " ButtonBar "  id = " savecol "  style = " PADDING-RIGHT: 10px; PADDING-LEFT: 10px; HEIGHT: 24px "  nowrap align = " center "  name = " savecol "  onMouseOver = " this.className='ButtonBarHover' "  onMouseOut = " this.className='ButtonBar' " >
                    
< ipsILB:ImageLinkButton id = " lnkSave "  tabindex = " 1 "  runat = " server "  cssclass = " NoUnderline "  ImageUrl = " images/icn_save_16.gif "  ImageAlign = " absmiddle "  onclick = " lnkSave_Click " ></ ipsILB:ImageLinkButton >
                    
</ td >
                    
< td width = " 95% " >& nbsp; </ td >
                
</ tr >
            
</ table >
            
< div id = " dataDiv "  style = " overflow:scroll;width:100%;height:100% " >
            
< table cellspacing = " 3 "  cellpadding = " 0 "  width = " 100% "  height = " 100% "  border = " 0 " >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label id = " lblUserOptsGeneral "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = top width = 40  rowspan = 2 >< img src = " images/icn_general_settings_24.gif "  align = " absMiddle " ></ td >
                    
< td class = contentLabelCell valign = top nowrap >< asp:label id = lblFullName runat = " server "   /></ td >
                    
< td class = contentLabelCell valign = top width = " 80% " >< asp:textbox id = txtFullName runat = " server "  width = " 240px " ></ asp:textbox ></ td ></ tr >
                
< tr >
                    
< td class = contentLabelCell valign = top nowrap >< asp:label id = lblEmailAddr runat = " server "   /></ td >
                    
< td class = contentLabelCell valign = top width = " 80% " >< asp:textbox id = txtEmailAddr runat = " server "  width = " 240px " ></ asp:textbox >< asp:regularexpressionvalidator id = revEmailAddress runat = " server "  enableclientscript = " False "  display = " Dynamic "  controltovalidate = " txtEmailAddr "  validationexpression = " ((&quot;+.+&quot;)|([w!#$%&amp;'*+-/=?^_`{}|~])|([w!#$%&amp;'*+-/=?^_`{}|~]+([.w!#$%&amp;'*+-/=?^_`{}|~]*)+[w!#$%&amp;'*+-/=?^_`{}|~]))+@+[w!#$%&amp;'*+-/=?^_`{}|~]+([.w!#$%&amp;'*+-/=?^_`{}|~]*)+[w!#$%&amp;'*+-/=?^_`{}|~] " ></ asp:regularexpressionvalidator ></ td >
                
</ tr >
                
< tr >
                    
< td valign = top width = 40 ></ td >
                    
< td class = contentLabelCell valign = top nowrap >< asp:label id = " lblUserOptsAddToForwardTo "  runat = " server " ></ asp:label ></ td >
                    
< td class = contentLabelCell valign = top width = " 100% " >< asp:textbox id = " txtForwardAddress "  runat = " server "  width = " 240px " ></ asp:textbox ></ td ></ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >
                        
< asp:checkbox id = " ckShowMessagePreview "  runat = " server "  text = " Show Message Preview Pane "  checked = " True " ></ asp:checkbox ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label id = " lblUserOptsChangePwdText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 "  rowspan = " 3 " >< img src = " images/icn_changepwd_24.gif "  align = " absMiddle " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >< asp:label id = " lblPwdMsg "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td class = " contentLabelCell " >< asp:label id = " lblUserOptsNewPwdText "  runat = " server " ></ asp:label ></ td >
                    
< td class = " contentLabelCell " >< asp:textbox id = " txtNewPwd "  runat = " server "  width = " 150px "  text = ""  textmode = " Password "  maxlength = " 30 " ></ asp:textbox >< asp:customvalidator id = " PasswordCustVal "  runat = " server "  controltovalidate = " txtNewPwd "  display = " Dynamic "  onservervalidate = " InvalidPasswordCheck "  enableclientscript = " False " ></ asp:customvalidator >< asp:customvalidator id = " RetypePwdCustVal "  runat = " server "  controltovalidate = " txtPwdRetype "  display = " Dynamic "  onservervalidate = " InvalidPasswordRetypeCheck "  enableclientscript = " False " ></ asp:customvalidator ></ td >
                
</ tr >
                
< tr >
                    
< td class = " contentLabelCell " >< asp:label id = " lblUserOptsRetypePwdText "  runat = " server " ></ asp:label ></ td >
                    
< td class = " contentLabelCell " >< asp:textbox id = " txtPwdRetype "  runat = " server "  width = " 150px "  text = ""  textmode = " Password "  maxlength = " 30 " ></ asp:textbox ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label id = " lblUserOptsComposingText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 "  valign = " top " >
                    
< table cellpadding = " 0 "  cellspacing = " 0 "  border = " 0 " >
                    
< tr >
                        
< td valign = " top "  rowspan = " 6 " >< img src = " images/icn_compose_task_24.gif "  align = " absMiddle " ></ td >
                        
< td class = " contentLabelCell " >< asp:label id = " lblUserDefaultMsgEncoding "  runat = " server " ></ asp:label >& nbsp; & nbsp; </ td >
                        
< td class = " contentLabelCell "  valign = " top " >< asp:DropDownList id = " drpMessageCharset "  runat = " server " ></ asp:DropDownList ></ td >
                    
</ tr >
                    
< tr >
                        
< td class = " contentLabelCell " >< asp:label id = " lblMessageStyle "  runat = " server " ></ asp:label >& nbsp; & nbsp; </ td >
                        
< td class = " contentLabelCell "  valign = " top " >< asp:DropDownList id = " drpMessageStyle "  runat = " server " ></ asp:DropDownList ></ td >
                    
</ tr >
                    
< tr >
                        
< td class = " contentLabelCell "  valign = " top "  nowrap >< asp:label id = " lblUserOptsOpenComposeIn "  runat = " server " ></ asp:label >& nbsp; & nbsp; </ td >
                        
< td class = " contentLabelCell "  valign = " top " >
                            
< asp:dropdownlist id = " drpComposeIn "  runat = " server " >
                                
< asp:listitem value = " 1 " ></ asp:listitem >
                                
< asp:listitem value = " 0 " ></ asp:listitem >
                            
</ asp:dropdownlist ></ td >
                    
</ tr >
                    
< tr >
                      
< td class = " contentLabelCell "  colspan = " 2 " >< asp:checkbox id = " ckSaveCopyToSent "  runat = " server "  checked = " True " ></ asp:checkbox ></ td >
                    
</ tr >
                    
< tr >
                      
< td class = " contentLabelCell "  colspan = " 2 " >< asp:checkbox id = " chkSaveRecip "  runat = " server "  checked = " false " ></ asp:checkbox ></ td >
                    
</ tr >
                    
< tr >
                      
< td class = " contentLabelCell "  colspan = " 2 " >< asp:checkbox id = " chkEnableAutoSuggest "  runat = " server "  checked = " true " ></ asp:checkbox ></ td >
                    
</ tr >
                    
</ table >     
                    
</ td >
                
</ tr >     
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label id = " lblUserOptsForwardingText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 " >< img src = " images/icn_forwarding_24.gif "  align = " absMiddle " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >
                        
< p >< asp:checkbox id = " ckFwdIncludeOriginal "  runat = " server "  checked = " True " ></ asp:checkbox >& nbsp; & nbsp; & nbsp; & nbsp;
                            
< asp:checkbox id = " ckIncludeAttachments "  runat = " server "  checked = " True " ></ asp:checkbox ></ p >
                    
</ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label id = " lblUserOptsReplyingText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 " >< img src = " images/icn_replying_24.gif "  align = " absMiddle " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >< asp:checkbox id = " ckReplyIncludeOriginal "  runat = " server "  checked = " True " ></ asp:checkbox ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label id = " lblUserDeleteOptionsText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 " >< img src = " images/mail_delete_24.gif "  align = " absMiddle " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >< asp:radiobutton id = " rdoMoveToDeleted "  runat = " server "  checked = " True "  groupname = " DeleteOptions " ></ asp:radiobutton >& nbsp;
                        
< asp:radiobutton id = " rdoPurgeMessage "  runat = " server "  groupname = " DeleteOptions " ></ asp:radiobutton >< img height = " 5 "  alt = ""  src = " images/sp.gif "  width = " 40 "  border = " 0 " >
                        
< asp:checkbox id = " ckConfirmBeforeDelete "  runat = " server "  checked = " True " ></ asp:checkbox ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label id = " lblUserAutoResponderText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 "  rowspan = " 4 " >< img src = " images/icn_autoresponder_24.gif "  align = " absMiddle " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >< asp:label id = " lblUserFolderText "  runat = " server " ></ asp:label >< asp:dropdownlist runat = " server "  id = " drpAutoRespondFolder "   ></ asp:dropdownlist ></ td >
                
</ tr >
                
< tr >
                    
< td class = " contentLabelCell "  colspan = " 2 " >
                        
< asp:checkbox id = " ckAutoRespondEnable "  runat = " server "  text = " Enable " ></ asp:checkbox >
                    
</ td >
                
</ tr >
                
< tr >
                    
< td class = " contentLabelCell "  colspan = " 2 " >< asp:label id = " lblUserAfterRespondingText "  runat = " server " ></ asp:label >< input id = " txtAutoRespondForwardTo "  type = " text "  size = " 50 "  name = " txtAutoRespondForwardTo "  runat = " server " ></ td >
                
</ tr >
                
< tr >
                    
< td class = " contentLabelCell "  colspan = " 2 " >< asp:label id = " lblUserMessageText "  runat = " server "  font - bold = " True " ></ asp:label >< br >
                        
< textarea id = " txtAutoResponderMessage "  name = " txtAutoResponderMessage "  runat = " server " ></ textarea ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label id = " lblUserSignatureText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 " >< img src = " images/icn_signature_24.gif "  align = " absMiddle " ></ td >
                    
< td colspan = " 2 " >< textarea id = " txtSignature "  name = " txtSignature "  runat = " server " ></ textarea ></ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 3 " >& nbsp; </ td >
                
</ tr >
                
< tr >
                    
< td class = " header3Cell "  colspan = " 3 " >< asp:label id = " lblUserVacationMsgText "  runat = " server " ></ asp:label ></ td >
                
</ tr >
                
< tr >
                    
< td valign = " top "  width = " 40 "  rowspan = " 2 " >< img src = " images/icn_vacation_24.gif "  align = " absMiddle " ></ td >
                    
< td class = " contentLabelCell "  colspan = " 2 " >
                        
< asp:checkbox id = " ckVacationMessageEnable "  runat = " server " ></ asp:checkbox >
                    
</ td >
                
</ tr >
                
< tr >
                    
< td colspan = " 2 " >< textarea id = " txtVacationMessage "  name = " txtVacationMessage "  runat = " server " ></ textarea ></ td >
                
</ tr >
            
</ table >
            
</ div >
        
</ form >
        
< script type = " text/javascript " >
        AutoResponderClick();
        UnTransformName();
        
</ script >
    
</ body >
</ html >
目录
相关文章
|
1月前
|
存储 监控 安全
邮件告警通知
【10月更文挑战第20天】
|
Android开发 iOS开发 Windows
方法:安卓手机如何批量添加联系人到通讯录
第I步:你得有安卓手机,再者,你到电脑上打开软件,金芝号码提取导入助手。第II步:这两个准备工作做好了以后,你打开你的Excel表格,把表格里面的铭字和号码各自复制好,分别放进软件里面的第三个功能“导入通讯录”,然后在这个功能下方点“通讯录生成”,你就可以获得一个文件,你把文件保存到电脑桌面。第III步:再通过你电脑上的溦xin或者Q,发去给你的手机溦xin或者手机Q,在手机上点开这个文件,就可以安卓手机批量添加联系人到通讯录了。
方法:安卓手机如何批量添加联系人到通讯录
方法:怎样把大量批量号码导入联系人到手机通讯录?
第一步:我们手里有一个excel表格,里面有铭字和号码,这是常见的格式,当然只有号码也可以。你把它们复制好,然后在电脑上打开软件:金芝号码提取导入助手,把刚才复制好的东西粘贴进来第二步:点它下方的按钮“转成通讯录”,你会得到一个通讯录格式的文件,然后你从电脑上把这个文件发给你的手机,在手机上打开它,就能把大量号码导入到通讯录成为联系人。第三步:怎么把文件从电脑上发给手机,这很简单啊,登录你的电脑某信或者某扣,发给你的手机某信或者某扣就ok了,很常见的方式啊。
方法:怎样把大量批量号码导入联系人到手机通讯录?
|
存储 Android开发
技巧:如何批量往手机通讯录导入联系人
想把几百个、几千个甚至上万个的联系人导入手机通讯录,如果手动去把人铭和11位号码一个个输入我的手机,数量多的话工作量太大了,这将是个耗时耗力的过程。那么我们自然会问:如何将手机号码批量导入手机通讯录?网上查了很多资料,我看到了一个简单方法,下面写个教程,操作非常简单,通过借助网上常见的便捷软件,金芝号码提取导入助手,来一键快速完成。
1204 0
技巧:如何批量往手机通讯录导入联系人
|
监控 Linux Windows