am configuring the gmail account on emulator using the below settings
Enable IMAP in your Gmail settings.
Select 'Messaging' > 'Options' > 'Settings' > 'E-mail' > 'Mailboxes.'
If you have never set up email on your phone before, select 'Yes' to define a new mailbox. If you already have other mailboxes, select 'Options' and then 'New mailbox.'
Select 'Start' to begin the setup wizard.
Select 'IMAP4' and then 'Next.'
Enter your full email address (including '@gmail.com') as the email address and select 'Next.' Google Apps users, enter your full address in the format 'username@your_domain.com.'
Enter 'imap.gmail.com' as the incoming mail server and select 'Next.'
Enter 'smtp.gmail.com' as the outgoing mail server and select 'Next.'
Select the appropriate access point and then 'Next.'
Enter a descriptive name for the email account mailbox name.
after all these settings am trying to connect to the mail
but its showing the error " unable to connect to email server (-200) "
what can be the problem.
on device its working fine..
please help me.