M
Madhur Nagar
Hi
I am trying to configre my PocketPC Outlook using the
ConfigurationManager.ProcessConfiguration. The provisioning file that I have
created is attached for your kind consideration. The mail account gets
created but the problem is that I am unable to set the settings for
1. Connect and check messages after every 5 minutes (Given by the
Linger)
2. Settings for getting the full message (Given by the Retrieve)
Please could someone help me out of this. I have read numerous posts on the
net for this, but none seem to help
Thanks
Regards
Madhur
XmlDocument configDoc = new XmlDocument();
string strGuid = System.Guid.NewGuid().ToString();
configDoc.LoadXml(
@"<wap-provisioningdoc>
<characteristic type='EMAIL2'>
<characteristic type='{" + strGuid + @"}'>
<parm name='SERVICENAME' value='DisplayName' />
<parm name='SERVICETYPE' value='POP3' />
<parm name='INSERVER' value='POP.gmail.com' />
<parm name='OUTSERVER' value='smtp.gmail.com' />
<parm name='AUTHNAME' value='madhur' />
<parm name='AUTHSECRET' value='Madhur' />
<parm name='DOMAIN' value='' />
<parm name='REPLYADDR' value='(e-mail address removed)' />
<param name='LINGER' value='5'/>
<parm name='NAME' value='Madhur' />
<param name='RETRIEVE' value='-1'/>
<parm name='KEEPMAX' value='5000'/>
<characteristic type='TAGPROPS'>
<parm name='8128000B' value='1'/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>");
ConfigurationManager.ProcessConfiguration(configDoc, false);
MessageBox.Show("Outlook Configuration Done", "Done");
I am trying to configre my PocketPC Outlook using the
ConfigurationManager.ProcessConfiguration. The provisioning file that I have
created is attached for your kind consideration. The mail account gets
created but the problem is that I am unable to set the settings for
1. Connect and check messages after every 5 minutes (Given by the
Linger)
2. Settings for getting the full message (Given by the Retrieve)
Please could someone help me out of this. I have read numerous posts on the
net for this, but none seem to help
Thanks
Regards
Madhur
XmlDocument configDoc = new XmlDocument();
string strGuid = System.Guid.NewGuid().ToString();
configDoc.LoadXml(
@"<wap-provisioningdoc>
<characteristic type='EMAIL2'>
<characteristic type='{" + strGuid + @"}'>
<parm name='SERVICENAME' value='DisplayName' />
<parm name='SERVICETYPE' value='POP3' />
<parm name='INSERVER' value='POP.gmail.com' />
<parm name='OUTSERVER' value='smtp.gmail.com' />
<parm name='AUTHNAME' value='madhur' />
<parm name='AUTHSECRET' value='Madhur' />
<parm name='DOMAIN' value='' />
<parm name='REPLYADDR' value='(e-mail address removed)' />
<param name='LINGER' value='5'/>
<parm name='NAME' value='Madhur' />
<param name='RETRIEVE' value='-1'/>
<parm name='KEEPMAX' value='5000'/>
<characteristic type='TAGPROPS'>
<parm name='8128000B' value='1'/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>");
ConfigurationManager.ProcessConfiguration(configDoc, false);
MessageBox.Show("Outlook Configuration Done", "Done");