EAS and Exchange 2010 Http 500 only on SOME users
We have had EAS and iPhones working really well for the past year in a Exchange 2003\2010 mixed mode environment.
NOTE: This is not related to the iOS v4 issue Apple is providing a fix for in v4.1
We have had no problems, but with the last batch of migrations (move mailbox) from e2k3 to e2k10 some users are not able to access mail once moved on their iPhones. I get "Cannot Get Mail - the connection to the server failed."
Yet we have many other users on the same Db from pervious migrations (move mailbox) from previous weeks that work just fine and continue to work fine while the others dont.
I have compared the accounts in ADSIEdit and one thought was the inclusion of the user's account + SELF in the permissions to the mailbox, but removing the user account did not help. I also moved the users to different Db's and the problem remains.
Both users started out in an AD site with non-internet facing CAS servers, but I have lots of other users over there who work fine. I also moved them to another AD site with internet-facing CAS and this didnt change anything.
If I run the testexchangeconnectivity.com I get a fail, yet I have also entered the credentials for the working users and they fail as well with and http 500 error yet they continue to work just fine on the device. Previous to adding the site with non-internet
facing CAS users did not fail this test. Any advice is appreciated. Here is the output:
ExRCA is testing Exchange ActiveSync.
The Exchange ActiveSync test failed.
Test Steps
Attempting to resolve the host name na.mail.reedelsevier.com in DNS.
Host successfully resolved
Additional Details
Testing TCP Port 443 on host na.mail.reedelsevier.com to ensure it is listening and open.
The port was opened successfully.
ExRCA is testing the SSL certificate to make sure it's valid.
The certificate passed all validation requirements.
Test Steps
The IIS configuration is being checked for client certificate authentication.
Client certificate authentication wasn't detected.
Additional Details
Testing Http Authentication Methods for URL https://na.mail.reedelsevier.com/Microsoft-Server-Activesync/
The HTTP authentication methods are correct.
Additional Details
An ActiveSync session is being attempted with the server.
Errors were encountered while testing the ActiveSync session
Test Steps
ExRCA is attempting to send the OPTIONS command to the server.
OPTIONS response was successfully received and is valid
Additional Details
ExRCA is attempting the FolderSync command on the Exchange ActiveSync session.
The test of the FolderSync command failed.
<label for="testSelectWizard_ctl12_ctl06_ctl05_ctl01_tmmArrow">Tell
me more about this issue and how to resolve it</label>
Additional Details
Exchange ActiveSync returned an HTTP 500 response.
Exchange Freak | @ntpro | http://geekswithblogs.net/ntpro
Hello Chris,
The affected users may be members of too many groups causing their user tokens to be larger than the maximum allowed size. Compare group membership of a problem with a successful user.
Also, compare the Security permissions on the active directory account as well. (Specifically inheritable permissions)
Exchange ActiveSync Returned an HTTP 500 Error - Remote Connectivity Analyzer
http://technet.microsoft.com/en-us/library/dd439375(EXCHG.80).aspx
How to troubleshoot server ActiveSync HTTP error codes
http://support.microsoft.com/?kbid=330463
Hope this helps,
Kevin Ca - MSFT
Similar Messages
-
Problems with a shared calendar using Outlook 2007 and Exchange 2010
Hello all,
We are having a problem with sharing a calendar using Outlook 2007 and Exchange 2010.
I will start with some background. I have just started my position with this company. I have been working with networks for awhile at the small business level. I have not had much production experience with exchange. There is only myself and my supervisor
who has inherited a midsized network which was built by five previous techs that are no longer with the company. Of course, the previous techs did not leave much documentation, so the original hows and whys for our system setup has been lost.
One of the managers has a calendar she shares with some of our users. I believe this calendar has been in use since sometime in 2006. A mailbox was created to hold this calendar to keep it separate from the managers calendar. I am not sure what version
of exchange they were using at that time, but I assume there was one or two migrations of it getting to its current state on our exchange 2010 server. At some point it was observed that the other workers she was sharing with were not able to access it correctly.
I am not fully sure what the original problem was (possibly some people not being able to see or connect to the calendar), but it was decided to give everyone who needed access to this calendar full access permissions through exchange. Correct me if I
am wrong, but I believe that gave everyone connected the ability to do anything with the calendar. Of course the manager was not happy about that. This is where I started working on the problem.
I removed everyone, except the manager who wants to control the calendar, from having "Full Access Permissions". This did have the effect of making some people just able to see the calendar and not make changes. Though there were others that were
able to connect to the calendar who I thought would not be able to. The manager that originally created the calendar did try to manage access to it through the Outlook interface, though it currently does not seem to be fully in effect.
So, to get to the point of what we are trying to do, is there a way to get the original manager back into control of the calendar though Outlook? It would be preferred to be able to keep the history of what they tracked of this calendar, so starting a new
one would be something we would rather avoid. After that, getting all of the users that need to connect to the calendar reconnected with the correct access permissions and making sure they are all synchronized.
I realize this is a big mess, and your help would be greatly appreciated.Hi Nigel,
How is the impact, just one user or all users, Outlook or OWA?
If just one user, it seems like an issue on the Outlook Client side.
Please trying to re-create new profile to fresh the caches.
Please runing Outlook under safe mode to avoid some AVs, add-ins and firewall.
Found a similar thread for your reference:
Calendar Sharing not available error message
http://social.technet.microsoft.com/Forums/exchange/en-US/d9b33281-d7bb-4608-8025-16fb26643d0d/calendar-sharing-not-available-error-message?forum=exchangesvrclientslegacy
Hope it is helpful
Thanks
Mavis
Mavis Huang
TechNet Community Support -
Exchange 2010 - Outlook can only open 8 other users' calendars
I have a company that I moved to Exchange 2010 from Exchange 2003 recently. The old Exchange 2003 server has been removed from the organization. They have 30 mailboxes on a single server. Everything has been running smoothly but I have just discovered an issue.
In this office there is one person who coordinates meetings, decides who uses what conference room for a given meeting, etc. She has full access to all of the other users' mailboxes. With Exchange 2003 she could access all of the other users' calendars simultaneously and would view them in overlay mode in Outlook 2003 and/or Outlook 2007.
With Exchange 2010 she can only view the first 8 calendars she clicks on. If she tries to open a 9th calendar Outlook responds with the error message "The set pf folders could not be opened."
I don't believe it to be a rights issue as she can open any 8 calendars upon first running Outlook. To access any others she has to uncheck one or more of the calendars previously selected, exit Outlook, restart Outlook and select different users calendars.
This is only happening with Exchange 2010 - I've tested it on my Exchange 2007 server and another client's Exchange 2003 server and one can open as many other users calendars as there are.
Is this a known limitation of Exchange 2010 or a new bug? Any workarounds?I'm betting that you have met the Exchange 2010 throttling policy......
Take a read through this post please, the section on throttling:
http://blogs.technet.com/b/rmilne/archive/2013/03/26/kicking-it-old-school-outlook-2003-partying-with-exchange-2010.aspx
Cheers,
Rhoderick
Microsoft Senior Exchange PFE
Blog:
http://blogs.technet.com/rmilne
Twitter: LinkedIn:
Facebook:
XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Exchange 2013 and Exchange 2010 coexistense
We have a and exchange 2010 organization with SP3 on most servers except for one 2010 CAS server that still requires SP1 for the purpose of legacy application compatibility. Can we introduce exchange 2013 in the org or will the setup detect
that there is an exchange 2010 server still with SP1 and fails to continue?Hi,
For Exchange 2013 coexistence with Exchange 2010, the mininum version of Exchange server is Exchange 2010 SP3 on all Exchange 2010 servers in the organization. For more information about it, please refer to the Coexistence of Exchange 2013 and earlier versions
of Exchange server part in the article below:
http://technet.microsoft.com/en-us/library/jj898583(v=exchg.150).aspx
Personal suggestion, please upgrade your legacy application to the latest version which is supported with Exchange 2010 SP3 or higher Exchange version.
Regards,
Winnie Liang
TechNet Community Support -
Outlook 2010 and Exchange 2010 SP3
Hello,
we are planning to upgrade from Exchange 2010 sp1 to SP3, most of client PCs has Windows XP sp3 and Oultook 2010 with VSTO addins working with mapi properties.
I need to know if there are any known issues between this client environment and Exchange 2010 SP3 ??
thanks a lot,
Mauricio.
MauricioWindows XP is not supported in any scenario, so yes, I'd call that a known issue.
Mike Crowley | MVP
My Blog --
Planet Technologies -
CallManager 7.01 and Exchange 2010 UM
We want to integrate CallManager 7.01 and Exchange 2010 UM. The plan is to build two Exchange 2010 UM servers. Who would be resonsible for load balancing (messanging) between the two Exchange 2010 UM servers? CallManager or Exchange? Does anyone know if there is any documentation on this?
I would guess you just make a SIP trunk to both UM servers. From here you can make a circular Route Group which would load balance the calls accross the UM's..
So I guess the answer is call manager!
HTH,
Chad -
Outlook asking for username and password, but only for some users
Hello, I'm
in an Exchange Server 2013 client
environment, two CAS servers
and two Mailbox.
Some users are having trouble in Outlook 2007
and 2012, which is directly
requesting the user name and password, not all,
just some.
The Active Directory is ok,
DNS and also own Exchange
servers apparently do not see errors.
Has anyone here ever experienced this?
How can I solve this problem?
As this happens only to some users
and the vast majority have no problems, so
difficult to find the cause.
Thank you!
Ivanildo Teixeira GalvãoHi Ivanildo,
From your description, only some users have an issue that Outlook prompts for username and password. In your case, I recommend you compare the normal and problematic Outlook settings. Here is the Outlook settings in my environment for your reference:
1. "Always prompt for logon credentials" isn't checked.
2. Logon network security using Negotiate Authentication.
3. "Connect to Microsoft Exchange using HTTP" is checked.
4. Use the NTLM Authentication when connecting to my proxy server for Exchange.
Hope this can be helpful to you.
Best regards,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Amy Wang
TechNet Community Support -
I have an iPad and iPhone 4 my iPad only syncs some text messages from my iPhone why???
Do you want to see all text messages on the iPhone, or none?
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Troubleshooting iMessage Issues: Some Useful Tips You Should Try
http://www.igeeksblog.com/troubleshooting-imessage-issues/
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
How to Block Someone on FaceTime
http://www.ehow.com/how_10033185_block-someone-facetime.html
My Facetime Doesn't Ring
https://discussions.apple.com/message/19087457
To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
How to Send SMS from iPad
http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
You can check the status of the FaceTime/iMessage servers at this link.
http://www.apple.com/support/systemstatus/
Cheers, Tom -
As the title says, I have a new Windows 8.1 based device which I'm trying to connect to my Exchange 2010 box (SP3 Update Rollup 2). I currently have my iphone set up as an EAS client with no problems. I have an EAS policy on my mailbox
with the following settings surrounding passwords :
Require Password, Require Encryption, Allow Simple Password, Time without user input - 10 minutes. Allow non-provisional devices is also checked.
The Windows 8.1 device has Bitlocker enabled, which meets the encryption requirement - I know this because the 1st time I tried this it moaned about Bitlocker needing to be enabled to meet requirements, though at that time the local user account on the Windows
8.1 device was an admin level account so it never mentioned this issue, it worked normally.
Now, while using a std user account on the Windows 8.1 device and trying to connect up via EAS, it complains that my local windows user account must be an ADMIN level account to meet the security requirements...?
Anyone encountered this?Did anyone solve this problem? I'm also struggling with this issue.
this is still a problem. I'm just hitting it now and it's not doing much for management's love of Microsoft devices.
Evidently, it has to be an admin to set the policies on the device to match the policies on the EAS. And once set, a user can be changed back.
But this is seriously not cool. Don't the "app" folks and the enterprise folks talk to each other? -
Exchange 2003 and Exchange 2010 Coexistence Activesync Issue
Hello,
I am currently on the progress of migrating mails from Exchange 2003 SP2 to Exchange 2010 SP3. Before I can do actual migration, I need to make sure that OWA and Activesync works when Exchange 2010 becomes Internet facing.
Right now Exchange 2003 is Internet facing while Exchange 2010 is internal LAN only. OWA login from Exchange 2010 to a mailbox in Exchange 2003 works fine. However, trying to open a mailbox in Exchange 2003 from Exchange 2010 Activesync fails.
Activesync login from Exchange 2010 to a mailbox in Exchange 2010 works fine, as well as logging in from Exchange 2003 to mailbox in Exchange 2003.
Tests using AccessMyLAN ActiveSync Tester using Exchange 2010 as entry point are inconclusive. The test shows the app successfully contacting ActiveSync version 6.5 which is Exchange 2003, but results in "Activesync detected, but not correctly configured."
Tests using Test-ActiveSyncConnectivity from Exchange 2010 reveals Error HTTP 400 when contacting Exchange 2003. The cmdlet also shows it successfully contacting Activesync version 6.5 (Exchange 2003).
I have searched around, installed hotfix KB937031, enabled Integrated Windows Authentication on Exchange 2003 Microsoft-Server-Activesync, disabled Require SSL for Microsoft-Server-Activesync and exchange-oma, yet I still can't connect to a mailbox inside
Exchange 2003 through ActiveSync 2010. Website Multiple Identities for port 80 has been set correctly. Exchange 2003 has Forms-Based Authentication Enabled and is the one thing we haven't tried disabling yet.
We want to make sure everything works first, then make Exchange 2010 Internet facing, and finally do the mail migration. We do not want to migrate everyone in a single sitting. Please if anyone have ideas any help is welcomed!Exchange 2010 will proxy ActiveSync for Exchange 2003. For OWA, it will redirect, so you need a legacy redirect URL. You can test all of this internally without changing your Internet connection. For ActiveSync you can use a WiFi connection.
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems." -
Palm Pre will not sync with EAS on Exchange 2010
I looked through the large EAS thread with the error "Unable to validate incoming server settings." Tried all of these issues and none have worked for me.
Exchange version is Exchange 2010 running on Server 2008 R2; Tried without domain and it gives me "bad username and or password". Tried with domain/username and it gives original error. All Windows Mobile phones sync no problem and certificate is current and valid for server. I have installed the certificate on the phone manually as well.
Passes all exchange connectivity tests from Microsoft as well.
Please help!!!make sure there's a https:// in the server name
-
Exchange online and Exchange 2010 on-premise calendar availability
I am running a hybrid exchange 2010 on-premise and online exchange environment. The online exchange users cannot see calendar availability of anybody on premise. The on-premise users can see the online exchange availability. I can see the
calendar if the calendar is shared, but trying to setup a meeting or calendar appointment still shows the unavailable through all days.
All of the users are using office 365 for outlook on premise and exchange online. If it is only working one way, could it be an autodiscover issue where it is not configured correctly on our on-premise exchange 2010 or online exchange? Which
side would be causing the issue?I have done a little more research and ran the following in powershell:
[PS] C:\Windows\system32>Get-FederationInformation -domainname weiman.com
RunspaceId : f4af09c7-134a-4fe7-95c0-acd120c63949
TargetApplicationUri : outlook.com
DomainNames : {Weiman.onmicrosoft.com, weiman.com, Weiman.mail.onmicrosoft.com}
TargetAutodiscoverEpr : https://autodiscover-s.outlook.com/autodiscover/autodiscover.svc/WSSecurity
TokenIssuerUris : {urn:federation:MicrosoftOnline}
IsValid : True
[PS] C:\Windows\system32>Get-OrganizationRelationship | FL
RunspaceId : f4af09c7-134a-4fe7-95c0-acd120c63949
DomainNames : {herbertstanley.com, weiman.com, Weiman.mail.onmicrosoft.com}
FreeBusyAccessEnabled : True
FreeBusyAccessLevel : LimitedDetails
FreeBusyAccessScope :
MailboxMoveEnabled : True
DeliveryReportEnabled : True
MailTipsAccessEnabled : True
MailTipsAccessLevel : All
MailTipsAccessScope :
TargetApplicationUri : outlook.com
TargetSharingEpr :
TargetOwaURL : http://outlook.com/owa/herbertstanley.com
TargetAutodiscoverEpr : https://pod51043.outlook.com/autodiscover/autodiscover.svc/WSSecurity
OrganizationContact :
Enabled : True
ArchiveAccessEnabled : True
AdminDisplayName :
ExchangeVersion : 0.10 (14.0.100.0)
Name : On Premises to Exchange Online Organization Relationship
DistinguishedName : CN=On Premises to Exchange Online Organization Relationship,CN=Federation,CN=WEIMAN,CN=Microsof
t Exchange,CN=Services,CN=Configuration,DC=herbertstanley,DC=com
Identity : On Premises to Exchange Online Organization Relationship
Guid : 26b4ec5d-fe93-473e-b451-1f9aa2e94ebb
ObjectCategory : herbertstanley.com/Configuration/Schema/ms-Exch-Fed-Sharing-Relationship
ObjectClass : {top, msExchFedSharingRelationship}
WhenChanged : 1/13/2014 1:25:54 PM
WhenCreated : 12/17/2013 1:04:32 PM
WhenChangedUTC : 1/13/2014 7:25:54 PM
WhenCreatedUTC : 12/17/2013 7:04:32 PM
OrganizationId :
OriginatingServer : gemini.herbertstanley.com
IsValid : True
I am not sure why we have that value for the OriginatingServer. That server is a backup domain controller, not the server that houses the on-premise exchange.
I then ran the set-OrganizationRelationship and get the below error.
[PS] C:\Windows\system32>Set-OrganizationRelationship -Identity weiman.mail.onmicrosoft.com -targetapplicationUri outloo
k.com -TargetAutodiscoverEpr https://pod51043.outlook.com/autodiscover/autodiscover.svc/WSSecurity
The operation couldn't be performed because object 'weiman.mail.onmicrosoft.com' couldn't be found on 'gemini.herbertst
anley.com'.
+ CategoryInfo : NotSpecified: (0:Int32) [Set-OrganizationRelationship], ManagementObjectNotFoundExceptio
n
+ FullyQualifiedErrorId : F2215CB2,Microsoft.Exchange.Management.SystemConfigurationTasks.SetOrganizationRelations
hip
How do I change the originating server to be my exchange server? -
Hi
My exchange environment consist with "Server Exchange 2010 SP3" and "Edge Server with Exchange 2010 SP3".
On Edge server in SMTP receive log i get every now and then an entry: xxxxxx 500 5.3.3 Unrecognized command.
It is serius problem because I got few e-mails from senders that they had problem with sending e-mail messages to our e-mail domain. They receive e-mail report, for example
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain domena.plby
mail.domena.pl.
[95.xxx.xxx.xx].
The error that the other server returned was:
500 5.3.3 Unrecognized command
Could you help me to solve this problem? What could cause this problem?
Thank you in advance
Tomasz
Kind Regards TomaszI have the same issue, but there is plenty of hard disk storage on the Exchange Server. This seems to only be happening from Google Business account/ Postini. If I send message from my personal Gmail account it works fine, but an agency who is on Google
business seems to have issues sending to us and they are delayed, sometimes they get through and other times they just don't.
Results from Mail Acceptance Test:
I enter my internal address and the remote users postini account as the test setup I received two emails from the tool but the end results of the test are:
Error submitting mail
Mail submission failed: Error message: Syntax error, command unrecognized. The server response was: 5.3.3 Unrecognized command.
Google support stated this:
Here are the logs from Postini trying to connect to mydomain.com (IP x.x.x.x) :
1. 2014/08/09 03:26:28 IP:209.85.218.50 SMTP-STLS:OK <null> TLSv1:RC4-SHA Validate:None 2. 2014/08/09 03:26:28 IP:209.85.218.50 SMTP LOG: Sender => FFD:MAIL FROM:<[email protected]>
3. 2014/08/09 03:26:28 IP:209.85.218.50 Fdal:Customer has null root_iid outbound default at org 100000001 4, 2014/08/09 03:26:28 IP:209.85.218.50 SMTP LOG: Sender <= FFD:250 Ok 5. 2014/08/09 03:26:28 IP:209.85.218.50 SMTP LOG: Sender => FFD:RCPT TO:[email protected]>
6. 2014/08/09 03:26:34 IP:209.85.218.50 To:[email protected] SMTP LOG: FFD => mydomain.com (x.x.x.x):Connection established 7. 2014/08/09 03:26:34 IP:209.85.218.50 To:[email protected] SMTP LOG: FFD <= mydomain.com (x.x.x.x):220 server.mydomain.com
ESMTP Service ready 8. 2014/08/09 03:26:34 IP:209.85.218.50 To:[email protected] SMTP LOG: Sender <= FFD:250 Ok 9. 2014/08/09 03:26:35 IP:209.85.218.50 To:[email protected] SMTP LOG: Sender => FFD:968 last bytes of data with dot 10. 2014/08/09 03:28:05
IP:209.85.218.50 To:[email protected] From:[email protected]:1119780 FP:2603ec6d38c69886eb1000e516fb745a0384e50b SMTP:Delivery still in progress after 90 seconds, recording FP 11. 2014/08/09 03:31:17 IP:209.85.218.50 To:[email protected] SMTP
LOG: FFD => mydomain.com (x.x.x.x):failed to send the last period(.) 12. 2014/08/09 03:31:17 IP:209.85.218.50 To:[email protected] oremote:Skipping Archive for Sender because did not deliver message 13. 2014/08/09 03:31:17 IP:209.85.218.50 To:[email protected]
SMTP:451 Remote connection lost - psmtp 14. 2014/08/09 03:31:17 IP:209.85.218.50 To:[email protected] SMTP LOG: Sender <= FFD:451 Remote connection lost - psmtp
As you can see, on line 9, at 03:26:35, we declared to the receiving server what we were about to send. At the line number 10, almost two minutes passed without an authorization (250 OK) from the receiving server. You can see our status being pushed back
at that moment to the receiving mail server: SMTP:Delivery still in progress after 90 seconds. Two more minutes later the connection was simply dropped and so we generated a 400 error message to encourage the sending server to try again later (since no bounce
was given per say from the receiving server, we won't hard-bounce it but defer it).
I hope this will help. you can try to look in the mydomain.com inbound logs and see at that exact time what happened? Unfortunately, our visibility pretty much ends there as we don't have full visibility of your mail environment. You'll need to investigate
within your own environment unfortunately. If you have any more information to share with me, in case it might help me help you, feel free to do so. I'll leave this case opened for now.
Sincerely,
Patricia
Google Enterprise Support -
Anyone have a solution to or a work around for the issue with cfexchange not talking to Exchange 2010? We are migrating to 2010 within our company and I have several applications reading Exchange 2002 and 2007 calendars.
RyanCFExchange in CF server 9 or older will not talk with Exchange 2010 at all, it is promissed to be fixed in CF 10.
As a solution you can use the EWS API. Read the stuff below. I hope my hint is helpfull to you.
<!---
With Exchange 2007 Microsoft abandoned WebDav as an interface to Exchangeserver.
The standard Coldfusion Tags relied on WebDav and will not work anymore.
Since I needed a way to interface with Exchange Server a started looking for possible solutions and this is what i came up with.
In december 2010 Microsoft released the Exchange Managed Services Library for java.
You can find it here: http://archive.msdn.microsoft.com/ewsjavaapi/Release/ProjectReleases.aspx?ReleaseId=5691
In the getting started document it tells you it depends on 4 3rd party libraries which you need to be download separately:
- Apache Commons HttpClient 3.1 (commons-httpclient-3.1.jar)
- Apache Commons Codec 1.4 (commons-codec-1.4.jar)
- Apache Commons Logging 1.1.1 (commons-codec-1.4.jar)
- JCIFS 1.3.15 (jcifs-1.3.15.jar)
With Coldfusion 9.1 (the version I tested with) you only need
- JCIFS 1.3.15 (jcifs-1.3.15.jar) which you can download here: http://jcifs.samba.org/src/
Place the EWS Jar and the JCIFS Jar in your Coldfusion libray folder and after restarting CF server the following code should work.
If you understand this you will be able to figure out your specific needs from the EWS API documentation.
--->
<!--- 1. I need an instance of the ExchangeService class --->
<cfobject type="Java" class="microsoft.exchange.webservices.data.ExchangeService" name="service">
<cfset service.init()>
<!--- 2. I need to set the credentials --->
<!--- 2a. Create an instance of the WebCredentials class --->
<cfobject type="Java" class="microsoft.exchange.webservices.data.WebCredentials" name="credentials">
<!--- 2b. Set the credentials --->
<cfset credentials.init("test.account","test.password", "yourdomain.com")>
<!--- 2c. Set the credentials in the service object --->
<cfset service.setCredentials(credentials) />
<!--- 3. In need to set the URL to Exchange (stay away from autodsicovery) --->
<!--- 3a. Create an instance of the Uri class --->
<cfobject type="Java" class="java.net.URI" name="uri">
<!--- 3b. Set the full path --->
<cfset uri.init("https://mail.yourdomain.com/ews/Exchange.asmx")>
<!--- 3c. Set the url in the service object --->
<cfset service.setUrl(uri) />
<!--- These are the steps you need to create valid a service object. --->
<!--- Now we need to do something with it. --->
<!--- I create a test message to my own mailbox to see if it works --->
<cfobject type="Java" action="create" class="microsoft.exchange.webservices.data.EmailMessage" name="message">
<cfset message = message.init(service) />
<cfset message.SetSubject("EWSTest")>
<cfset messageBody = CreateObject("java", "microsoft.exchange.webservices.data.MessageBody")>
<cfset messageBody.init("My EWS test message")>
<cfset message.SetBody( messageBody )>
<cfset message.ToRecipients.Add("[email protected]") >
<cfoutput>
#message.SendAndSaveCopy()#
</cfoutput> -
Outlook client requirements and Exchange 2010/2013 coexistence
Good morning!
A question regarding Exchange 2010/2013 coexistence and the Outlook client requirement. I am upgrading and about to install Exhange 2013 into an existing Exchange 2010 Org. The current 2010 Org is patched to SP-3 and Outlook Anywhere is currently disabled.
I have Outlook clients that do not yet meet the minimun requirements for 2013 (Outlook 2007/2010). When I install my first 2013 server will it effect the current downlevel clients? The mailboxes are still in 2010 so my thoughts were since the Office upgrade
including Outlook has not yet taken place I didn't want to wait for them to at least get 2013 into the Org. The 2013 server should effect the clients until I configure the CAS on 2013 and only when they are at the proper version, is this correct? Does Outlook
Anywhere need to be first enabled and configured on the 2010 CAS before I attempt the confgiuration on the 2013 CAS? I just dont want to install 2013 and have Outlook connectivity issues right out of the gate...
Thanks in advance!Outlook 2007 and 2010 are supported for Exchange 2013, you just need to push out the latest patches.
http://technet.microsoft.com/en-us/library/aa996719(v=exchg.150).aspx
If you configure the URLs properly in Exchange 2013 to URLs that point to the Exchange 2010 servers, your clients shouldn't try to talk to the Exchange 2013 server.
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
Maybe you are looking for
-
How to search for files using wildcards * and ?.
Hi All, I've been searching the forum for a couple of hours now and have been unable to find a good example of how to search a directory (Windows OS) for a file using wildcards * and/or ?. Does anyone out there have a good example that they can share
-
Connecting MBP to DV Cassette Recorder and External HD
Before getting my MBP, I had a G4 eMac, which had two 6PF firewire outlets. The firewire cables from my external HDs had the matching plugs, and I got a 4PF-6PM adapter for the firewire cable on my DV deck. The firewire port on the new MBP looks diff
-
Can I give access to ICQ through the Oracle Messenger client?
Can I give access to ICQ through the Oracle Messenger client, is similar JIT in Jabber?
-
Everything SEEMS to be working correctly but songs won't play
argh. I have reset, retried, restarted, reinstalled and restored: the ipod appears to be updating fine, I can see all the songs in the ipod, but they're grayed out and I can't highlight them. the ipod won't play them, it just flits from 1 to 2 to 3 t
-
TNS Error while installing Oracle 9iAS R2 on Windows
I am trying to install Oracle 9iAS R2 9.0.2 on my Toshiba P4 Notebook with Windows 2000 Server. I get this error: ORA-12560: TNS:Protocol adapter error The log message following: Launched configuration tool Single Sign-On Configuration Assistant Comm