Compartilhar via


EMAIL2 Configuration Service Provider XML Code Example

4/8/2010

The following code example shows Email2 Configuration Service Provider XML.

Note

You need to enclose the GUID in the EMAIL2 Configuration Service Provider within a set of braces {}. For example, if the GUID is "C556E16F-56C4-4edb-9C64-D9469EE1FBE0," you would change <characteristic type="{GUID}" to <characteristic type="{C556E16F-56C4-4edb-9C64-D9469EE1FBE0}"

Code Example

<characteristic type = "EMAIL2"> 
  <characteristic type = "{D671C70B-8EE3-4881-8045-2AEE6F731B55}">
     <parm name = "SERVICENAME" value = "MyIMAP" /> 
     <parm name = "SERVICETYPE" value = "IMAP4" />
     <parm name = "INSERVER"    value = "Imapserver" />
     <parm name = "OUTSERVER"   value = "smtpserver" />
     <parm name = "AUTHNAME"    value = "bobk" /> 
     <parm name = "AUTHSECRET"  value = "password" /> 
     <parm name = "DOMAIN"      value = "northwindtraders" />
     <parm name = "REPLYADDR"   value = "alias@domain.com" />
  </characteristic>
  <characteristic type = "{4FE84006-9E8A-4158-864D-A2E1E98C3786}">
     <parm name = "SERVICENAME" value = "MyPOP" /> 
     <parm name = "SERVICETYPE" value = "POP3" />
     <parm name = "INSERVER"    value = "popserver" />
     <parm name = "OUTSERVER"   value = "smtpserver" />
     <parm name = "AUTHNAME"    value = "bobk" /> 
     <parm name = "AUTHSECRET"  value = "password" /> 
     <parm name = "DOMAIN"      value = "northwindtraders" /> 
     <parm name = "REPLYADDR"   value = "alias@domain.com" />
  </characteristic>
</characteristic> 

Remarks

One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the OMA Client Provisioning file. For information about the syntax of this file, see OMA Client Provisioning Files. For examples, see OMA Client Provisioning XML File Examples.

See Also

Reference

EMAIL2 Configuration Service Provider

Other Resources

EMAIL2 Configuration Service Provider Mapping to OMA DM E-mail XML