exchange

Access Additional Exchange Mailbox using Microsoft.Office.Interop.Outlook

I'm trying to find a way using the Office.Interop.Outlook COM object to connect to an additional Mailbox. Currently I am doing the following (after adding the COM object): var app = new Microsoft.Office.Interop.Outlook.Application(); var ns = app.GetNamespace("MAPI"); ns.Logon(); var inboxFolder = ns.GetDefaultFolder(Microsoft.Office....

Recovery Group with Exchange 2003 and Python

Is there a way to create a recovery group in exchange 2003 with python? Maybe CDOEXM or VBScript? But I have been unsuccessful in finding any sample code. Any ideas? ...

Why should I convince developers to use port 587 for all SMTP communication?

There is a growing trend to use port 587 for all client to MTA communications. It's in a standards track RFC: http://www.ietf.org/rfc/rfc2476.txt My question is "Why?". Why have 2 instances of a SMTP server running on the same server, if they both do the same thing? What security feature does it provide, besides giving me 2 things to...

How to specify content type in request in groovy?

Hi, i'm trying to use the groovy httpbuilder to make a post to the microsoft exchange webservice (EWS). My problem is, I'm unable to set the proper request content-type. The library seems to have its own mind here. Does anyone have an idea? Cheers, Stephan Here is my code: url = "http://exchangeserver/ews/Exchange.asmx" p_...

Csharp for sending .zip in attachment by email on exchange server

Hell guys, I'm coding in csharp to send an email which contains a .zip file (has htmls and css inside). When I check the mail recieved, In fact, instead of the .zip file, the attachment becomes a txt file and has: FILE QUARANTINED The original contents of this file have been replaced with this message because of its characteristics. F...

How can I create an Extended (custom) Property with EWS?

I have created a little demo application which is able to create a meeting request by using the Exchange WebService (EWS). I would also like to add some custom properties to this item but up to now I have only found examples which use the Exchange Managed API, which I won't use. There must be a way to create these properties by only usin...

blackberry exchange credentials

is there a way for my custom blackberry app to retrieve the user's exchange credentials? Presumably, the blackberry has been setup to point to Exchange and I'd like to be able to use those same credentials for our app that is behind an NTLM based set of web services. I can build my own custom login screen, but was thinking it'd be clea...

Exchange PowerShell - Set SIP address for all users

Hi, I was hoping somebody could help me a little with this. I'm in need of setting SIP addresses for all users where this address is not set. And the address is supposed to be the same as their e-mail address. How can I do this? So far, I know I can run get-mailbox to get all mailboxes. But I probably need to store this in a variable,...

Add login page to outlook web access 2007

Hi, I want to add a new login page to owa 2007. Here is my scenario; first, user log in my custom logon page, then user redirect to default logon page. How can i do that? ...

How do I retrieve just recurring event masters using Exchange Web services?

I'm using a CalendarItemType view to retrieve calendar items. The only items I care about are those that I've created and I know that they are all weekly recurring items. I'm able to get each individual occurrence and, from any one of them the recurring master item, but I'd like to narrow the scope of my search to just those items that...

Swiftmailer won't send mail, but mail() will

PHP's mail() function sends mail fine, but Swiftmailer's Swift_MailTransport doesn't work! This works: mail('[email protected]', 'test '.date('H:i:s'), ''); But this does not: $transport = Swift_MailTransport::newInstance(''); $mailer = Swift_Mailer::newInstance($transport); $message = Swift_Message::newInstance('test '.date('H:i:s')...

Exchange auto-forwarding when email is drag into a mailbox

Hi, I set up a mailbox A with auto-fowarding set to send copy to external address B. When I sent email to A I receive copies in B. But not when I drag email from other mailbox say C to A. Why is that? Thanks, ...

Accessing Microsoft Exchange server from Ruby

I need to sync MS Exchange's contacts with my Ruby on Rails application. Which is the best way? Would you recommend any existing gems for it? ...

Is there any way to manually populate active sync device statistics?

Hello, Is there any way to manually, without an actual device, set Active Sync Device statistics such as device type, device id, first sync time, etc...? I will need to automate this so via powershell is best but if there is a UI based utility I can potentially automate that as well. NOTE: I do not want to do this via a WinMo emulator....

Select custom defined field in Exchange using WEBDAV

Suppose I have user defined column "ORDER" and added it to Tasks grid (using outlook). How do reference this custom column in WEBDAV search or update (PROPPATCH)? Here is example for getting built in columns: ...

Android: Exchange objects between Activity and Service

Hello! I have an Activity "A" which instantiates two objects from the Facebook Android SDK. I put these two objects into a static HashMap with unique static keys and their references. From other activities "B" and "C" I'm able to get these two corresponding references via myhashmap.get(). These two Activities are within the same applica...

How do I install the Exchange Management Shell Module to run Powershell Exchange Scripts in code

I am struggling getting Exchange mManagement Shell commands to run in my C# code. Here' the problem. I have access to a test Exchange Server running Exchange 2010. I have run my Exchange Mgmt Shell commands directly on the server inside the Exchange Mgmt Shell Simple Example: get-mailbox I created a console app to run my PS c...

What is the command to access Exchange Management Tools from C# code in Exchange 2010

In Exchange 2007 this line of code is used to load the Exchange Poweshell commands snapin: PSSnapInInfo info = rsConfig.AddPSSnapIn( "Microsoft.Exchange.Management.PowerShell.Admin", out snapInException); However, this does not exist in Exchange 2010 and I am pulling my hair out trying to find out how to access the Exchange Powers...

Exchange Server 2003 - Set Full Mailbox Access permission for every new user

Hello, We have an Exchange Server running, we're trying to connect with it from an application in another server. Thing is, we have to set some permissions for it to work (we want to access any mailbox with an Administrator mailbox, but we have to set it Full Mailbox Access first). We somehow need to set this for every new user at the mo...

Exchange Server 2003 - Can't connect to exchange server in same machine

Hello, I have an Exchange Server running in a remote machine. We also have an application that connects to this Exchange Server through ActiveDirectory and Independentsoft's WebDav. This works perfectly when I run the application locally, but if I install it in the machine where the Exchange Server is running I only have connectivity wit...