Hello we are experiencing a problem with our Pocket PC App :
The app is actually designed to work on a Qtel9100
We want ton configure Pocket Outlook with a 30min polling for an
account we are creating in the app, like this :
public bool doOutlookConfiguration(EmailApplication ea)
{
try
{
String wszAccountXml = "<wap-provisioningdoc>"
+ " <characteristic type=\"EMAIL2\">"
+ " <characteristic
type=\"{DC88846A-11D3-444d-A8DD-00A15086346E}\">"
+ " <parm name=\"CONNECTIONID\"
value=\"{C1D06580-B364-45ec-8421-5ACF34129C58}\"/>"
+ " <parm name=\"SERVICENAME\" value='" +
ea.getEmailBoxName() + "' />"
+ " <parm name=\"SERVICETYPE\"
value=\"POP3\"/>"
+ " <parm name=\"INSERVER\" value='" +
ea.getInServer() + "' />"
+ " <parm name=\"OUTSERVER\" value='" +
ea.getOutServer() + "' />"
+ " <parm name=\"AUTHNAME\" value='" +
ea.getAuthenticationName() + "' />"
+ " <parm name=\"AUTHSECRET\" value='" +
ea.getAuthenticationPassword() + "' />"
+ " <parm name=\"DOMAIN\" value='" +
ea.getEmailDomain() + "' />"
+ " <parm name=\"REPLYADDR\" value='" +
ea.getReplyAddress() + "' />"
+ " <parm name=\"LINGER\"
value=\"30\"/>"
+ " <parm name=\"KEEPMAX\" value='-1'
/>"
+ " <parm name=\"DWNDAY\" value='-1'
/>"
+ " <parm name=\"AUTHREQUIRED\" value='1' />"
+ " <parm name=\"RETRIEVE\" value='-1'
/>"
+ " </characteristic>"
+ " </characteristic>"
+ "</wap-provisioningdoc>";
ConfigWrapper.ProcessXml(wszAccountXml,
ConfigFlag.Process);
return true;
}
catch (Exception exp)
{
...
}
}
Everything looks fine (i.e, the parameters are flushed, we can list
them ...).
In the account property page, we see the good values : send /receive
every 30 mins, checkbox checked.
The problem is the application never goes to check and send mails, it
never connects.
The only way to make it work is to go in the account's property page,
leave all the parameters, tap next, next, next, OK, and then, outlook
starts polling.
Currently, we try to save the registry :
- before editing the property page
- after editing the registry page
We will try to make a 'diff' on these two dumps to see any key
difference between them.
We want to resolve this problem, so if anybody has a clue for us, it
would be greatly appreciated.
Thx in advance
Frederic Bertin