locked
Email2 CSP not working RRS feed

  • Question

  • I tried to setup an email account using the Email2 CSP. Was able to add/edit/delete accounts. Tried both POP3 and IMAP4, it shows up under the mail accounts in the Settings application and also shows in the Mail application. The issue is that the mail doesn't syncn at all. Either it Sync forever or displays a message that there is nothing to be display. When I add the email account, I get a 200 status as well for the job.

    The SyncML is as follows:

    <SyncBody>
    	<Atomic>
    	  <CmdID>38</CmdID>
    	  <Add>
    		<CmdID>6</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D</LocURI>
    		  </Target>
    		  <Meta>
    			<Format xmlns="syncml:metinf">node</Format>
    		  </Meta>
    		</Item>
    	  </Add>
    	  <Replace>
    		<CmdID>7</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/SERVICENAME</LocURI>
    		  </Target>
    		  <Data>Yahoo</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>8</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/SERVICETYPE</LocURI>
    		  </Target>
    		  <Data>IMAP4</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>9</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/REPLYADDR</LocURI>
    		  </Target>
    		  <Data></Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>10</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/NAME</LocURI>
    		  </Target>
    		  <Data>Username</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>11</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/INSERVER</LocURI>
    		  </Target>
    		  <Data>imap.mail.yahoo.com:993:1</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>12</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/SYNCINGCONTENTTYPES</LocURI>
    		  </Target>
    		  <Data>2</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>13</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/AUTHNAME</LocURI>
    		  </Target>
    		  <Data>Username</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>14</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/AUTHREQUIRED</LocURI>
    		  </Target>
    		  <Data>1</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>15</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/AUTHSECRET</LocURI>
    		  </Target>
    		  <Data>Password</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>16</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/SMTPALTPASSWORD</LocURI>
    		  </Target>
    		  <Data>Password</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>17</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/DWNDAY</LocURI>
    		  </Target>
    		  <Data>90</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>18</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/OUTSERVER</LocURI>
    		  </Target>
    		  <Data>smtp.mail.yahoo.com:465:1</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>19</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/ACCOUNTICON</LocURI>
    		  </Target>
    		  <Data>Microsoft,Generic</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>20</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/ACCOUNTTYPE</LocURI>
    		  </Target>
    		  <Data>0</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>21</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/TAGPROPS</LocURI>
    		  </Target>
    		  <Meta>
    			<Format xmlns="syncml:metinf">node</Format>
    		  </Meta>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>22</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/TAGPROPS/8128000B</LocURI>
    		  </Target>
    		  <Data>1</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>23</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/TAGPROPS/812C000B</LocURI>
    		  </Target>
    		  <Data>1</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>24</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/CELLULARONLY</LocURI>
    		  </Target>
    		  <Data>0</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>25</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/LINGER</LocURI>
    		  </Target>
    		  <Data>-2147483528</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>26</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/KEEPMAX</LocURI>
    		  </Target>
    		  <Data>250</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>27</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/RETRIEVE</LocURI>
    		  </Target>
    		  <Data>20480</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>28</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/SERVERDELETEACTION</LocURI>
    		  </Target>
    		  <Data>0</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>29</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/CONTACTSSERVER</LocURI>
    		  </Target>
    		  <Data />
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>30</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/CALENDARSERVER</LocURI>
    		  </Target>
    		  <Data />
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>31</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/CONTACTSSERVERREQUIRESSL</LocURI>
    		  </Target>
    		  <Data>0</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>32</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/SMTPALTAUTHNAME</LocURI>
    		  </Target>
    		  <Data>username</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>33</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/SMTPALTDOMAIN</LocURI>
    		  </Target>
    		  <Data />
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>34</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/CALENDARSERVERREQUIRESSL</LocURI>
    		  </Target>
    		  <Data>0</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>35</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/CONTACTSSYNCSCHEDULE</LocURI>
    		  </Target>
    		  <Data>120</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>36</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/CALENDARSYNCSCHEDULE</LocURI>
    		  </Target>
    		  <Data>120</Data>
    		</Item>
    	  </Replace>
    	  <Replace>
    		<CmdID>37</CmdID>
    		<Item>
    		  <Target>
    			<LocURI>./Vendor/MSFT/EMAIL2/%7Bab39136c-6deb-470c-aa9d-da04e3784657%7D/SMTPALTENABLED</LocURI>
    		  </Target>
    		  <Data>0</Data>
    		</Item>
    	  </Replace>
    	</Atomic>
    </SyncBody>

    Is there an issue with the Email2CSP? I have followed everything mentioned in the document . I have not tried the ActiveSync CSP. I believe that is for Exchange accounts. Tested this on Windows 10 Pro (v1607 - Anniversary update).

    I also made a setting change in Yahoo to Allow less secure apps. That dint help either.

    Can someone help me out with this? Need to take a call to include or exclude this feature.

    Sunday, September 18, 2016 8:31 AM

All replies

  • Hi,

    Were you able to solve this ?

    I am seeing auto-sync issues with email accounts configured using Email2 CSP as well.

    Regards,

    Dhruvesh

    Wednesday, April 19, 2017 9:44 AM
  • Hi,

    I still see the same issue. Any clues on how you solved this?

    Best!

    Thursday, August 9, 2018 5:42 AM
  • Its been long since I worked on this issue. I remember comparing the payload of Windows Configuration Designer and that helped me identity the cause.
    Thursday, August 9, 2018 6:48 AM
  • Thanks aster.veigas for the pointers. Hope to resolve it soon!
    Thursday, August 9, 2018 7:16 AM