Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,375 Members 45,145 Now Online
XDA Developers Android and Mobile Development Forum

Auto-provisioning POP3 or Exchange mail via UC Mini how-to.

Tip us?
 
petervbeck
Old
#11  
petervbeck's Avatar
Senior Member
Thanks Meter 0
Posts: 556
Join Date: Jun 2007
Location: in front of your monitor
CRCinAU, thank you very much! missing this option was quite annoying to me because i had to change these options manually everytime!
If we ever meet, you'll get a Guinness from me!
Thanks again!
Guinness is good for you!

Desire
TouchPro: WM6.1 RRE HTC Fuze ROM Ver 4.0 with Radio 1.10.25.25
Kaiser: WM6.1 (...changing too often...) with Radio 1.58.25.17
Tornado: WM6 5.2.1616.18120 v3.7
Artemis: Artemis Touch 3.01 with SDHC Support & Radio ROM 03.07.90


> DON'T READ THIS || search forum with Google || Vote for Guinness... and enjoy this !!!

my collection of software

Is deacair amhra'n a ra'dh gan gloine!
 
cyberscribe
Old
#12  
Member
Thanks Meter 0
Posts: 85
Join Date: Oct 2007
Quote:
Originally Posted by egoist6 View Post
if you need a tool which creates the provisioning files for you, try
Personal OEMIZER
which can be found here: www.tierman.net
Looked to no avail... just Pamela Anderson videos
Stuff Happens:
Device:TP2 (rhod400) on AT&T
Radio: 2.32.00WU
ROM:NRG CDMA MaxSense 23569
 
Funky B
Old
#13  
Member
Thanks Meter 0
Posts: 53
Join Date: Apr 2006
Location: Santa Barbara
Here's everything together for POP3 except for TAGPROPS for SSL. I've also added DWNDAY for the # of days to download.
Code:
<characteristic type="EMAIL2">
 <characteristic type="{05250a7a-21ff-4119-a4a5-046cfe884082}">
  <parm name="SERVICENAME" value="My Account Mail" />
  <parm name="SERVICETYPE" value="POP3" />
  <parm name="INSERVER" value="pop.server.com" />
  <parm name="OUTSERVER" value="smtp.server.com" />
  <parm name="NAME" value="your name" />
  <parm name="AUTHNAME" value="your account name" />
  <parm name="AUTHSECRET" value="your account password" />
  <parm name="DOMAIN" value="your domain if needed" />
  <parm name="REPLYADDR" value="your reply to address" />
  <parm name="LINGER" value="30" />
  <parm name="RETRIEVE" value="-1" />
  <parm name="KEEPMAX" value="-1" />
  <parm name="DWNDAY" value="7" />
  <parm name="AUTHREQUIRED" value="1" />
  <parm name="FORMAT" value="2" />
 </characteristic>
</characteristic>
You can generate your own GUID here.

While were at it I also connect to wifi to download email after a flash because reception is horrible where I live. In order to do so I need to type in my WEP key - another step. Add this to your provisioning.xml file and have sdautorun setup wifi too

Code:
<characteristic type="CM_WiFiEntries">
  <characteristic type="Your SSID">
    <parm name="DestID" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
  </characteristic>
</characteristic>

<characteristic type="Wi-Fi">
  <characteristic type="access-point">
    <characteristic type="Your SSID">
      <parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
      <parm name="Encryption" value="0"/>
      <parm name="Authentication" value="0"/>
      <parm name="Hidden" value="0"/>
      <parm name="KeyProvided" value="0"/>
      <parm name="NetworkKey" value="your network key"/>
      <parm name="KeyIndex" value="1"/>
      <parm name="Use8021x" value="0"/>
    </characteristic>
  </characteristic>
</characteristic>
The GUID for CM_WiFiEntries in this example is directed to the internet network. You can also choose "{A1182988-0D73-439e-87AD-2A5B369F808B}" for the work network.

Under wifi you can choose "ad-hoc" instead of access-point for a computer to computer connection.

Authentication will allow for open (0), shared (1), WPA (3), WPA-PSK (4) or WPA-NONE(5).

For a full list of parameters check out MSDN. Other options are EAPType and Filter to filter out specific network types.
Droid 4 Maserati
CyanogenMod 11 Nightly Builds

Retired:
Cingular 8125 Wizard
Cingular 8525 Hermes
AT&T Fuze / HTC Raphael
 
CRCinAU
Old
#14  
CRCinAU's Avatar
Senior Member - OP
Thanks Meter 27
Posts: 1,117
Join Date: Oct 2007
Location: Melbourne

 
DONATE TO ME
Quote:
Originally Posted by Funky B View Post
Authentication will allow for open (0), shared (1), WPA (3), WPA-PSK (4) or WPA-NONE(5).
There are a couple others on this too that aren't documented..

Authentication:
6 = WPA2
7 = WPA2-PSK

Encryption:
0 = Encrypt using 802.11 wired equivalent privacy (WEP) key.
1 = No encryption.
4 = Encrypt using Temporal Key Integrity Protocol (TKIP) sequence counters.
6 = Encrypt using Advanced Encryption Standard (AES).
Hermes ROMs:
WM6.1 based - Stable - Release 13.5 - Released 26-Sep-2009 (Build 20270)

Looking for a Hermes Radio? Try my Radio Repository
 
Dr Puttingham
Old
#15  
Dr Puttingham's Avatar
Retired Moderator
Thanks Meter 2
Posts: 1,508
Join Date: Jul 2005
Location: Delray Beach, FL
OK guys, thank you so much for educating us!

Now that THAT'S said....

Please tell me what I'm doing wrong.. Tasks isn't in the XML so I added it along with the download the last 30 days, entire messages. Tasks blows up the XML and when I remove everything works except it wants to download the last 3 days and not the netire message...

Here's my email.xml

Quote:
<wap-provisioningdoc>
<characteristic type="Sync">
<characteristic type="Settings">
<parm name="SyncWhenRoaming" value="1"/>
</characteristic>
<characteristic type="Connection">
<parm name="Domain" value="xxxx"/>
<parm name="Password" value="xxxxxxxx"/>
<parm name="SavePassword" value="1"/>
<parm name="Server" value="mail.xxxx.com"/>
<parm name="User" value="puttingham"/>
<parm name="URI" value="Microsoft-Server-ActiveSync"/>
<parm name="DWNDAY" value="30" />
<parm name="UseSSL" value="1"/>
<parm name="RETRIEVE" value="-1" />
</characteristic>
<characteristic type="Mail">
<parm name="Enabled" value="1"/>
<parm name="EmailAgeFilter" value="3"/>
</characteristic>
<characteristic type="Calendar">
<parm name="Enabled" value="1"/>
<parm name="CalendarAgeFilter" value="5"/>
</characteristic>
<characteristic type="Contacts">
<parm name="Enabled" value="1"/>
</characteristic>
<characteristic type="Tasks">
<parm name="Enabled" value="1"/>
</characteristic>
</wap-provisioningdoc>
With the Tasks like that I get a
Quote:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

End tag 'wap-provisioningdoc' does not match the start tag 'characteristic'. Error processing resource 'file:///C:/Document...

</wap-provisioningdoc>
--^
 
duke_stix
Old
(Last edited by duke_stix; 25th May 2008 at 09:44 PM.)
#16  
Senior Member
Thanks Meter 0
Posts: 493
Join Date: Aug 2006
so who's gna take the initiative to make one of these up for gmail? ready for people to just put username and password in?!


hm..i'll have a crack i think!

how hard would it be to code a small little program that will generate these XML files for us?

any one got any pointers?
Current: Google LG Nexus 5 - 32GB
Google nexus 10 32gb

Device History:
SPV E200
SPV C500
I-Mate SP3i
HTC Himalaya
HTC Magician
HTC Charmer
HTC Prophet
HTC Wizard
HTC Hermes
HTC Raphael
HTC Rhodium
HTC Leo
HTC Desire S
Samsung Galaxy Nexus
Samsung Galaxy S-III
LG Nexus 4 - 16gb
 
egoist6
Old
#17  
egoist6's Avatar
Senior Member
Thanks Meter 4
Posts: 703
Join Date: Sep 2007
Location: Munich
Quote:
Originally Posted by duke_stix View Post
so who's gna take the initiative to make one of these up for gmail? ready for people to just put username and password in?!


hm..i'll have a crack i think!

how hard would it be to code a small little program that will generate these XML files for us?

any one got any pointers?
dude,
read my post #6.
HTC Touch HD | ROM: blackSTONEhenge™ HyPer by Wajk | Radio: 1.17.25.09
UI: iPhoneToday by tronikos
 
duke_stix
Old
#18  
Senior Member
Thanks Meter 0
Posts: 493
Join Date: Aug 2006
Quote:
Originally Posted by egoist6 View Post
dude,
read my post #6.
thats a dead link matey!
Current: Google LG Nexus 5 - 32GB
Google nexus 10 32gb

Device History:
SPV E200
SPV C500
I-Mate SP3i
HTC Himalaya
HTC Magician
HTC Charmer
HTC Prophet
HTC Wizard
HTC Hermes
HTC Raphael
HTC Rhodium
HTC Leo
HTC Desire S
Samsung Galaxy Nexus
Samsung Galaxy S-III
LG Nexus 4 - 16gb
 
egoist6
Old
(Last edited by egoist6; 26th May 2008 at 02:23 PM.)
#19  
egoist6's Avatar
Senior Member
Thanks Meter 4
Posts: 703
Join Date: Sep 2007
Location: Munich
Quote:
Originally Posted by duke_stix View Post
thats a dead link matey!
oh come on. it seems to be only a temporary problem.
if you would google for "personal oemizer" you would have found this link:
http://tiermann.net/index.php?option...sktop&Itemid=3
which works perfectly.

just to help you out i have attached the tool.
Attached Files
File Type: zip OEMizer.zip - [Click for QR Code] (152.9 KB, 173 views)
HTC Touch HD | ROM: blackSTONEhenge™ HyPer by Wajk | Radio: 1.17.25.09
UI: iPhoneToday by tronikos
 
Dr Puttingham
Old
#20  
Dr Puttingham's Avatar
Retired Moderator
Thanks Meter 2
Posts: 1,508
Join Date: Jul 2005
Location: Delray Beach, FL
Well, thanks to this thread and Sleuth's UC I've finally got a nice cab file with all my AS settings preconfigured. And in my personal cab I imported my exchange server's security certificate so all is well. Hard to find was how to sync the last 30 days, that's found on page 55 of Sleuth's thread
Quote:
<parm name="EmailAgeFilter" value="5"/>
Still can't enable HTML but that's no big deal. (FORMAT doesn't work )

I carry my last 30 days, entire message with no attachments being dl'ed until I need them.

The entire script is

Quote:
- <wap-provisioningdoc>
- <!-- Mail2web Settings
-->
- <characteristic type="Sync">
- <characteristic type="Connection">
<parm name="Server" value="mail.xxxxx.com" />
<parm name="AllowSSLOption" value="1" />
<parm name="User" value="dr_puttingham" />
<parm name="Domain" value="estate" />
<parm name="Password" value="is_here" />
<parm name="SavePassword" value="1" />
</characteristic>
- <characteristic type="Settings">
<parm name="PeakStartTime" value="0800" />
<parm name="PeakEndTime" value="1800" />
<parm name="PeakFrequency" value="-1" />
<parm name="BodyTruncation" value="-1" />
- <characteristic type="PeakDays">
<parm name="Sun" value="0" />
<parm name="Mon" value="1" />
<parm name="Tue" value="1" />
<parm name="Wed" value="1" />
<parm name="Thr" value="1" />
<parm name="Fri" value="1" />
<parm name="Sat" value="0" />
</characteristic>
</characteristic>
- <characteristic type="Mail">
<parm name="Enabled" value="1" />
<parm name="MailBodyTruncation" value="-1" />
<parm name="MailFileAttachments" value="0" />
<parm name="EmailAgeFilter" value="5" />
<parm name="FORMAT" value="1" />
</characteristic>
- <characteristic type="Calendar">
<parm name="Enabled" value="1" />
</characteristic>
- <characteristic type="Contacts">
<parm name="Enabled" value="1" />
</characteristic>
- <characteristic type="Tasks">
<parm name="Enabled" value="1" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Thanks also to egoist6 for the OEMizerlink as I used that to troubleshoot the Tasks not being enabled.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Run, Jump, and Shoot in Tales of Ciaxia

There are certain types of games that have become paramount of the portable gaming world. As we have … more

Samsung Gear Live Stock Firmware Image Pulled, Temp Root

Just yesterday,XDA Recognized Developer and TV ProducerAdamOutlertore apart … more

Draw a Line and Let Your Device Do the Rest with LineitApp

Over the years, since evenbefore Android entered the scene, we have striven to … more

[APK] Chrome Beta 37 Brings First Traces of Material Design

With Android L on the horizon, it’s no surprise that Google’s … more