[Touch Pro2, Tilt 2 Windows Mobile General] papo:
you can create reg, but ID's would differ with installation and you would create a mess deleting and adding. I faced this problem, can't really remember why it was bad idea, but it was.

Anyway this's your solution, works like charm. done by the way how it should be done. by provisioning. Use template on bottom, add more values if needed from description, and add another addresses below, where I wrote <HERE add another>

- those XXXXX-XXXXX-.... is GUID - put random hex number there (every email different number)

- DON'T CHANGE type="email2" it doesn't mean second email, for all 5 emails, use the same type=email2

- you can delete (not use) all params you are not using, including those nonstandart NAMEDPROPS and TAGPROPS.

save the file as UTF-8, rename it to _setup.xml and put into CAB file.

it don't need to be "correct" cab, no inf no setup.dll or full headers.

you can use cabwiz to create it.

edit: utf-8 was what MS was saying, but actually it's not working with UTF-8, just gave it a go,

IT HAS TO BE ANSI, and w/o xml definition line

if you want to burn it to rom, don't make CAB, save file as mxip_e-mails.provxml and put in OEM

or mxipupdate_<name>.provxml

mxipupdate, will be updated after every package update, but I never saw someone doing that anyway.

no need to add to config.txt

signatures are not there, if I remember correctly, they are in cemail.vol database and this can't be just copied. try look here as well:

http://msdn2.microsoft.com/en-us/library/aa455896.aspx

p.s. there is provisioning for setting connections (internet, wap, mms) as well, but in that case, it works better for me to use REG instead, because prov is obsolete (still asking modem number) and limited - no correct proxy set) and with REG I can change Work to wap and My ISP to internet

edit: I gave it another try, I missed one whole section in provxml before. So correction, provxml works great on connections as well. can change work to wap, can add proxy, only it's really full of old: put number & prefix & dial staff, but nevermind

===

EMAIL2 -- The encapsulating characteristic for all the other e-mail service provisioning elements (groups all e-mail services in the provisioning document).

<GUID>

Defines one specific e-mail account. This is a globally unique identifier (GUID) that you must generate for each new account.

Note When managing over OMA DM, make sure to always use a unique GUID. Provisioning with an account that has the same GUID as an existing one deletes the existing account and does not create the new account.

NAMEDPROPS

Specifies that you are stating parameter element name attributes as nonstandard named properties. Used to group together parameters that are identified by a combination of MAPI property names and types.

TAGPROPS

Specifies that you are stating parameter element name attributes as nonstandard tag properties. Used to group together parameters that are identified by MAPI property tags.

Parameters

8128000B

Used to enable the incoming server for SSL. A value of 1 indicates that SSL is enabled; Zero (0) indicates that it is not enabled. For an example, see Enabling SSL Example.

812C000B

Used to enable the outgoing server for SSL. A value of 1 indicates that SSL is enabled; Zero (0) indicates that it is not enabled. For an example, see Enabling SSL Example.

AUTHNAME

[Required] The name used to authorize the user to a specific e-mail account (also known as the user's logon name).

AUTHREQUIRED

[Optional] Specifies whether the outgoing server requires authentication (1 for true, and 0 for false).

AUTHSECRET

[Optional] The user's password. The same password is used for SMTP authentication.

CONNECTIONID

[Optional] The network connection GUID. The CONNECTIONID parameter must appear immediately beneath the <GUID> characteristic. If you do not include the CONNECTIONID parameter, the mobile device will attempt to find the best connection automatically.

DOMAIN

[Optional] The user's domain name.

DWNDAY

[Optional] How much e-mail to download. This is the number of days worth, going back into the past. Use a value of -1 (or 4294967295) to specify that you want to download all of the messages that are currently on the server.

INSERVER

[Required] The name of the messaging service's incoming e-mail server.

KEEPMAX

[Optional] Specifies the maximum size (in Kilobytes) for message attachments to be downloaded. Attachments that are larger will remain on the server, but the message itself will still be downloaded. Use a value of 0 to specify that you do not want any message attachments. Use a value of -1 (or 4294967295) to specify that you want all message attachments, no matter how large.

LINGER

[Optional] Frequency that Microsoft Outlook uses to perform scheduled sends/receives. The frequency is specified as the length of time between updates, in minutes.

Note If a value is not provided for LINGER, the automatic connection sync setting defaults to every 15 minutes. You should set the LINGER parameter to 0 to never connect automatically.

NAME

[Optional] The display name associated with the user's e-mail account.

OUTSERVER

[Required] The name of the messaging service's outgoing e-mail server.

REPLYADDR

[Required] The user's reply e-mail address (usually the same as the user's e-mail address).

RETRIEVE

[Optional] Specifies the maximum size (in bytes) for messages retrieved from the incoming e-mail server. Messages beyond this size will still be retrieved, but will be truncated. Use a value of 0 to specify that you only want to download headers. Use a value of -1 (or 4294967295) to specify that you want to download the full messages.

SERVICENAME

[Required] The name of the e-mail service to create or edit, 32 characters maximum..

Note The Email2 CSP does not support the OMA DM Replace command on the parameters SERVICENAME and SERVICETYPE. To replace either the e-mail account name or the account service type, you must delete the existing e-mail account, and then create a new one.

SERVICETYPE

[Required] The type of e-mail service to create or edit (such as IMAP4 or POP3).

Note The Email2 CSP does not support the OMA DM Replace command on the parameters SERVICENAME and SERVICETYPE. To replace either the e-mail account name or the account service type, you must delete the existing e-mail account, and then create a new one.

SMTPALTAUTHNAME

[Optional] Display name associated with the user's alternative SMTP email account; only valid if SMTPALTENABLED is True.

SMTPALTDOMAIN

[Optional] User's domain name for the alternative SMTP account; only valid if SMTPALTENABLED is True.

SMTPALTENABLED

[Optional] A Boolean value that indicates that an alternative SMTP server is enabled.

SMTPALTPASSWORD

[Optional] Password for the alternative SMTP account; only valid if SMTPALTENABLED is True.

<wap-provisioningdoc>

<characteristic type="EMAIL2">

<characteristic type="{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}">

<parm name="SERVICENAME" value="Bobs Mail Account" />

<parm name="SERVICETYPE" value="POP3" />

<parm name="INSERVER" value="mail.northwindtraders.com" />

<parm name="OUTSERVER" value="smtp.northwindtraders.com" />

<parm name="NAME" value="Bob Kelly" />

<parm name="REPLYADDR" value="bobk@northwindtraders.com" />

<parm name="AUTHNAME" value="bobk" />

<parm name="AUTHSECRET" value="bobs_password" />

<parm name="DOMAIN" value="" />

<characteristic type="NAMEDPROPS">

<parm name="MyNamedProp#0003" value="1" />

<parm name="AnotherNamedProp#0003" value="200" />​

</characteristic>

<characteristic type="TAGPROPS">

<parm name="8128000B" value="1"/>

<parm name="812C000B" value="1"/>​

</characteristic>​

</characteristic>​

</characteristic>

<characteristic type="EMAIL2">

HERE to set another email address​

</characteristic>​

</wap-provisioningdoc>