exchange-server

Getting a sent MailMessage into the "Sent Folder"

I'm sending MailMessages with an SmtpClient (being delivered successfully) using an Exchange Server but would like my sent emails to go to the Sent Folder of the email address I'm sending them from (not happening). using (var mailMessage = new MailMessage("[email protected]", "[email protected]", "subject", "body")) { var smtpCl...

Exchange server actively refuses my connection

I'm writing a ASP.NET application used within our company. Now I want to send emails to some users via a email account on our exchange server. I tried to use System.Net.Mail.SmtpClient, where a proprietary account and password are given to specify the credentials. But the code failed with following exception: "No connection could be mad...

Intercepting outgoing Exchange Server email and modifying it

I want to be able to intercept outgoing email on a specific domain in Exchange Server and modify the headers before it is actually delivered. Basically, my company has been bought by another and where we were using MDaemon and signing all our emails with DKim and DomainKeys, the new company uses Exchange Server which cannot and will not...

Exchange 2010 and ESE Backup API

Exchange 2010 does not support the ESE API for doing backups like it did in 2003 and 2007 according to MSDN. I Quote: "Exchange 2010 no longer supports the ESE streaming APIs for backup and restore of program files or data. Instead, Exchange 2010 supports only VSS-based backups." So my question is, if this is the case, why is the DLL (E...

Exchange 2010 - Exchange MAPI connection problem

I have a software solution for Exchange 2000/2003/2007 and now hopefully after this for 2010. The software runs on the server and uses Exchange MAPI through RDO to talk the the exchange server, retrieving emails inside mailboxes. All works fine on Exchange 2000/2003/2007 but 2010 just won't budge. Keep on getting this error when trying ...

How to programmatically add mailbox alias on an Exchange 2007 server from C# web app?

As the subject says, I have a C# web application (.NET 3.5) that's communicating with an Exchange 2007 server. What I need help with is to programmatically (preferably from the web app itself) add a new mailbox alias to a certain mailbox and then before sending out the mail set the new alias as the reply-to address. I'm fairly new to s...

Trouble getting email attachment from Exchange

I am getting the error message “The remote server returned an error: (501) Not Implemented.” when I try to use the HttpWebRequest.GetResponse() using the GET Method to get an email attachment from exchange. I have tried to change the HttpVersion and don’t think it is a permissions issue since I can search the inbox. I know my credential...

2-way sync between ms exchange calendar and Java app

Hi, we are developing a CRM app which holds customer meeting info. Users have requested that their Outlook calendars should reflect the activity they have booked in the CRM application and vice versa. Is there any solution to achieve this? Preferably not using any plugins or installs on the end user's PC? ...

getting autodiscover URL from Exchange email address

I'm starting with an address for an Exchange 2007 server: [email protected] And I attempted to send an autodiscover request, as documented at MSDN. I attempted to use the generic autodiscover address documented at the TechNet White Paper. So, using curl on PHP, I sent the following request: <Autodiscover xmlns="http:...

using exchange server account

I m developing ASP.Net project in company. Every user has an unique exchange account. Im trying to authenticate the user based on teh user's Exchange credentials for web project. I want to use exchange server account for each user. I just dont want to add users to database, because they already have userid and password in exchange serv...

Can you get notes and tasks from Exchange with VB.NET?

I'm currently looking into expanding a project to include the syncing of notes and tasks from a web application with exchange/Outlook. Though at the moment, this is only an idea. Unfortunately for me, it's the first time I've considered doing any form of Exchange integration at all from any application. So I'm wondering, is what I've ...

ExchangeWebServiceMailBinding And WCF Hosting

I'm looking at using ExchangeWebServiceMailBinding for pushing data to Windows Mobile devices in an upcoming project. I've run into two things that I cannot find in Google. How does the MailBinding on the server side act in different WCF hosting conditions (IIS hosted vs self hosted)? From the samples, I know it does poll the server fr...

Get Smtp email from ContactInfo stored in Exchange

Hi, I am using VSTO for my Outlook add-in. Currently I am processing email addresses from all Outlook contacts. There is no problem for instances of ContactInfo if EmailAddress1Type is "SMTP". But how to get email address for Exchange contact (Email1AddressType = "EX")? Redemption library is not solution for me as it is expensive just...

Exchange 2007 API for reading log files that contain bounced emails?

Ive been trying to figure out how this situation is handled easily. I have a website that sends out some emails. I want to be able to somehow get the bounce backs and so I can store the information in a DB table. The main confusion comes in how is this done? I assume I create a email address that will be the FROM:. But when the email d...

Is it Possible to develop an App to lock a users exchange calendar?

I want to be able to install an app on our companies android phones, that locks them from changing appointments in their exchange calendar, because we use it for scheduling them and there appointments, could that be made? ...

How to get email delivery status with webdav

Hi, how can I check if an email is sent using webdav?Is there any delivery status poperty or something like this? ...

Cross folder searching of Exchange using Exchange Web Services

Is there a way to search Exchange using the EWS Managed API for all email messages across ALL folders. I'm using the FindItems API call -- but that appears to require that the search be confined to a single folder. private void InternalPurgeProcessFolder(FolderId folderId, ExchangeService service, SearchFilter searchCriteria) { ...

How do I discover all mailboxes for an Exchange Server using Exchange Web Services?

I'm using Exchange Web Services Managed API 1.0 to access the Exchange servers (2007) in my organization. I need to iterate over all the mailboxes on a given server. I haven't seen a way to get the list of mailboxes defined for a given Exchange server. I have been able to use the AutoDiscover service to find the address of a hub serve...

How do I programatically create an exchange 2010 mailbox using C#

I have been given a task to write a program to automatically create a 2010 exchange mailbox. My research tells me to use powershell but I can't seem to find the namespace to reference and would like some sample code. I found some code on the web but I don't know what the namespace is for PowerShell. I think it might be System.Manageme...

Contacts / address book data feed import for MS Exchange

Hi I've got an intranet (PHP / Zend Framework) application that holds people's contact information (name, address, phone, email, skype etc) I'm looking for a way to (securely!) create a data feed that MS Exchange (preferably) or MS Outlook (second choice) can consume that will ensure our worldwide user base always has up to date contac...