Link to home
Start Free TrialLog in
Avatar of dazzzor
dazzzor

asked on

Exchange/IMAP Emails on IPhone..

Hi
Can anyone please help me step by step of how to configure my exchange server 2003 to sync with my Iphone either by Micosoft exchange or even IMAP4..  I feel I have tried almost everything possible.. but must be doing something wrong as I keep getting "cannot get mail - The connection to the server failed"  I'm going crazy..

What I have noticed though is that when the Iphone is setup to use Exchange, when it tries to sync with the server I get this error id in the event viewer..

Source - Server ActiveSync
Type - Error
Event ID: - 3012

Any help would be greatly appreiated..

Regards
Darren
Avatar of abhaigh
abhaigh
Flag of United Kingdom of Great Britain and Northern Ireland image

this is for Windows Mobile devices - but it might help

Error messages when you try to synchronize a Windows Mobile 5.0-based mobile device to Exchange Server 2003 on a Windows SBS 2003-based computer
http://support.microsoft.com/kb/937635

also check this thread out as well
https://www.experts-exchange.com/questions/21920989/OMA-and-Exchange-2003.html
Avatar of dazzzor
dazzzor

ASKER

Hi abhaigh,

Thanks for your quick responce, but have looked into both those links and still getting the error Cannot get mail...  
You may want to check if SSL is enabled on the iPhone.  It gets enabled by default when setting up the exchange server connection.  Go into the account properties for that email account on the iPhone and turn of SSL.  Try your sync again.
The iPhone is a very poor implementation of ActiveSync and causes more problems than anything else.

Therefore I would confirm the server works correctly using the Microsoft test site:
https://testexchangeconnectivity.com/

The most common problem is SSL certificates, as the iPhone struggles with them if things are not correct, or you are trying to use a self generated certificate.

Simon.
Avatar of dazzzor

ASKER

Mestha..

I have just run the test from the above link and this is the report:-
 
Attempting to Resolve the host name mail.mydomain.co.uk in DNS.
 Host successfully Resolved
Additional Details
 IP(s) returned: (My IP Address)

Testing TCP Port 443 on host mail.mydomain.co.uk to ensure it is listening/open.
 The port was opened successfully.

Testing SSL Certificate for validity.
 The certificate passed all validation requirements.
Test Steps
 Validating certificate name
 Successfully validated the certificate name
Additional Details
 Found hostname mail.mydomain.co.uk in Certificate Subject Common name

Validating certificate trust for Windows Mobile Devices
 The test passed with some warnings encountered. Please expand additional details.
Additional Details
 Certificate is only trusted on Windows Mobile 6.0 and later. Windows Mobile 5.0 and 5.0 + MSFP devices will not be able to sync. Root = OU=Go Daddy Class 2 Certification Authority, O="The Go Daddy Group, Inc.", C=US

Testing certificate date to ensure validity
 Date Validation passed. The certificate is not expired.
Additional Details
 Certificate is valid: NotBefore = 4/30/2009 2:28:04 AM, NotAfter = 4/30/2010 2:28:04 AM



Testing Http Authentication Methods for URL https://mail.mydomain.co.uk/Microsoft-Server-Activesync/
 Http Authentication Methods are correct
Additional Details
 Found all expected authentication methods and no disallowed methods. Methods Found: Basic

Attempting an Activesync session with server
 Testing an ActiveSync session completed successfully
Test Steps
 Attempting to send OPTIONS command to server
 OPTIONS response was successfully received and is valid
Additional Details
 Headers received: Pragma: no-cache
Public: OPTIONS, POST
Allow: OPTIONS, POST
MS-Server-ActiveSync: 6.5.7638.1
MS-ASProtocolVersions: 1.0,2.0,2.1,2.5
MS-ASProtocolCommands: Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,ResolveRecipients,ValidateCert,Provision,Search,Notify,Ping
Content-Length: 0
Date: Thu, 07 May 2009 21:58:01 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET



Attempting FolderSync command on ActiveSync session
 FolderSync command completed successfully.
Additional Details
 Number of Folders: 104

Attempting initial sync (no data) for Inbox folder
 Completed Sync Command successfully
Additional Details
 Status: 1

Attempting to test GetItemEstimate command for Inbox Folder
 Successfully received GetItemEstimate Response from Server
Additional Details
 Estimate: 624 messages

Attempting to test Sync of Inbox Folder
 Completed Sync Command successfully
Additional Details
 Number of items synchronized: 96

Everything looks ok to me..  I am really baffled with this one..

Darren
Avatar of dazzzor

ASKER

I must say though, I have just deleted the exchange mail account on the IPhone and recreated it again, and it keeps asking me for a correct password, to which I have entered at least a dozen times and it keeps asking for the password to be entered time and time again..    
Password prompts usually mean the device cannot sync for some reason. ActiveSync cannot cope with many errors very well.
The test passes, so it has to be something with the device. If you browse to the server do you get a certificate prompt?

Simon.
Avatar of dazzzor

ASKER

Im sorry, do you mean browse to the server on the Iphone or a desktop..?
From the device. Doing it from a desktop is no good because that doesn't tell if you the device is able to accept the certificate.

Simon.
Avatar of dazzzor

ASKER

Hi

I have just browsed to my email OWA using safari and it all worked fine... the address used was:-
https://mail.mydomain.co.uk/exchange

Darren
If you didn't receive any authentication prompts then it should work correctly on the device as well. It passes the tests on the Microsoft site. Ensure that the username, password and domain are set correctly.

Simon.
Avatar of dazzzor

ASKER

Yhea all the settings are correct..  I have checked them and reset up the account time and time again..
and even now I am still being asked for my password and when I enter I get the same box popped up asking my again..

Darren
ASKER CERTIFIED SOLUTION
Avatar of Mestha
Mestha
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial