Click here to Skip to main content
15,903,388 members
Everything / Exchange Server

Exchange Server

Exchange-Server

Great Reads

by LenJ67
Using PowerShell and EWS to write/update public folder contacts.
by Robert E Campbell
This article demonstrates how to extract attachments from Exchange using VB.NET.
by psined
Introduction to Boomerang Framework
by avg360
Simple mail notifier for Exchange

Latest Articles

by matthewproctor
How to extract attachments from Outlook mailboxes using C#
by LenJ67
Using PowerShell and EWS to write/update public folder contacts.
by Robert E Campbell
This article demonstrates how to extract attachments from Exchange using VB.NET.
by psined
Introduction to Boomerang Framework

All Articles

Sort by Updated

Exchange Server 

21 May 2017 by _ChM_
Hello, I use the EWS Managed API to create appointments in a public calendar (public folder). If I use an Exchange Server account it is no problem to create an appointment in a public calendar. If I use an Office365 account to create such an appointment, it is created with the correct start...
4 Jul 2013 by _mak
Is it possible to assign roles using the Exchange web services in c#? Like you programatically automate of adding the role ApplicationImpersonation and assign the role to the users in Office 365 Exchange?
15 Apr 2016 by Aakash Kumar Morya
I am trying to create a new distribution list using exchange server command "New-DistributionGroup"When i am entering duplicate alias name then it is allowing me to create the new distribution list. While when i try to create the distribution list from the Exchange Server UI in Office 365...
4 Sep 2013 by Abdul 08009
Hope you all are fine.I have an application which requires to send 1500-2000 emails with attachment to the same number of customers. My Question is "What would be best practice to achieve that efficiently?"Whether 1)It can be done efficiently by organization's email account -...
6 Sep 2011 by Abhijit Jana
Well as you are new in Exchange Web Services ( EWS ) , I will suggest you to read this series of articles form Brij [ Check For Microsoft Exchange Section ] .Microsoft Exchange[^]If you check the Second Article,Programming With Exchange Server 2007 (EWS) - Part 2[^], there is a section...
5 Feb 2018 by ahstax
Hello, I'd like to add information at the end(!) of an incoming email's subject line, using exchange 2010 transport rules and regular expressions. This is for showing whether or not an email received by the MTA, which is not the exchange-server, was delivered TLS-encrypted. This I want to...
21 Jul 2011 by Alberto Flores
Hi! i need some guide about the way to retrive email address in the TO: FROM: AND CC: Properties from a lsit of email's stored in a exchange server, for example:I download and can read the subject and body from all email stored in a folder on exchange server with a responsestream in xml...
9 Jun 2013 by Andro Andro
If you use JWebDAV you have to use this url:String mailBoxUrl = "https://[server IP]/exchange/[emailaddress]";
9 Jun 2013 by Andro Andro
If you use JWebDAV you have to use this url:String mailBoxUrl = "https://[server IP]/exchange/[emailaddress]";
9 Jun 2013 by Andro Andro
If you use JWebDAV you have to use this url:String mailBoxUrl = "https://[server IP]/exchange/[emailaddress]";
1 Jan 2012 by Anil Avhad [IND]
I have Created two Organization(1. org01.local and 2. org02.local ) and also created one user in each Organization i.e user1@org01.local and user2@org02.local.When i login to Owa from user1@org01.local and set Auto Relpy Out Of Office Setting applied for both users i.e for internal as well...
8 Apr 2013 by Ants Hurdley
HiI'm trying to get all my contacts from Exchange using EWS.I am getting all the data I want (name, email phone number etc) but the notes field is always empty. I List contacts = new List(); ExchangeService service =...
24 Sep 2010 by Apriorit Inc, Kit Tatiana
The aim of the article is to present a step-by-step description of the installation and configuration of the domain controller, Exchange Server, and MS Outlook with two accounts for the testing purposes.
23 Oct 2012 by arielbeck
Hey, I'm facing the following problem:1. i have Exchange server (2007).2. i want to be able to do the following:for each mail that its subject starts with "s:", instead of sending it to the recipient, forward it to a specific internal IP addressi've tried transport rules, i can specify...
23 Oct 2012 by arielbeck
Managed to do it using TransportAgent - which redirects mails to a smart host (send connector) that should be defined.
23 Oct 2012 by arielbeck
Say i'm in a domain MyDom.com.if i send mails from outlook client to another user in the domain, it seems that outlook wraps the smtp request in TNEF format (where the body and attachments are replaced with winmail.dat file).can i somehow change the internal handling to simple MIME...
19 Jun 2011 by asok6783
i am having exchange server 2003 in windows server2003 using it for both mail and ftp server . now i have installed a new server now i want to shift the users and the mailbox from the old server to the new one please help me asok
19 Apr 2010 by avg360
Simple mail notifier for Exchange
16 Sep 2011 by Ayman Mahmoud
How can I add custom aspx pages to OWA in Exchange 2010?!
13 Jun 2011 by bhanunet
HiI am creating a service which connect to Exchange service and get new mail from there. I am able to get new mail from there when I execute the code manually. I need to get mail as it come to inbox. To achieve this requirement I want to use Push notification of EWS API.I have written code...
11 May 2018 by Bryian Tan
Very likely the SMTP provider (in your example company.com) has SPF setup. Which is a good and beautiful thing. What is SPF? "Sender Policy Framework (SPF) is a simple email-validation system designed to detect email spoofing by providing a mechanism to allow receiving mail exchangers to check...
4 Aug 2010 by C++myLife
Hi All, I need to traverse the server means I am unable to find the storage groups within the server through code. How I can enter to the information store. I have the VB script which is doing the same but I need to do that in VC++.The hierarchy which want is like this Exchange...
7 Jun 2014 by Ccsnow
i customized ribbon menu on my clients's outlook 2010, i want to that if i clicked custumized ribbon menu, it must go to https://abc.com. i searched i try to macro but i didnt do it.i found macro. but this is run appointment in outlook 2010. Public Sub OpenPublishedForm() Dim Items...
8 Jun 2014 by Ccsnow
Thank you for your answers,i wrote macro but it didnt work.i custumized menu(http://i.hizliresim.com/mlbvzy.png), i want to that if i click iwanttocliktenhttpxxxcom button, i want to go to http://www.abc.com. Thx.
16 May 2012 by Chandra Sadhangiri
Try registering the snap-in using C:\Windows\Microsoft.NET\Framework\v2.0.50727InstallUtil c:\program files\microsoft\exchange server\bin\microsoft.exchange.powershell.Configuration.dllNote the difference is in using 32bit version of InstallUtil
23 Jul 2014 by Charlesirwin1810
I need to configure my database mail, in SQL Server 2005, i was able to send mail using GMAIL, but i need to configure using my exchange server settingshow can i find the smtp server, port,authentication details from Exchange server and config DBMail in SQL Server
18 Jan 2011 by chetverg
Hi,I am using Exchange + WebDav. The problem is when I mark mail(this email has a read receipt request) as read(WebDav request) the Exchenge server sends a read receipt automatically.How can I prevent it? I tried to reset headers 'return-receipt-to' and 'disposition-notification-to'...
14 Dec 2016 by Chris Quinn
The best site to find information on the use of Exchange server is Outlook and Exchange Solutions Center[^]
4 Feb 2012 by Christian Graus
"can any one help me to find out causes of Object reference not set to an instance of an object"This is an odd question. The error means that the object was null, which means that your attempt to create it, failed. If you do not know that, then you should be reading a basic programming...
17 Nov 2015 by DanielBrownAU
Duplicate question from yesteday which I awnsered. how to Intergrate Share point 2013 with lync 2013[^]What your asking does not make sense.
3 May 2012 by Dave Kreskowiak
First, this has absolutely nothing to do with C#, so I fail to see why you tagged your question "C#". It should have been "PowerShell".Second, what part of "Access Denied" and "see the about_Remote_Troubleshooting Help topic" you listed in your error message is difficult to understand?
16 Jan 2015 by Dave Kreskowiak
No enough information.Since TextBox.Text just returns a string, you just have to type "user1" (without the quotes) into your usertextbox and you get the exact same thing.The server is telling you that whatever you're doing isn't authorized, given the data that you sent.
11 May 2022 by Dave Kreskowiak
That's not how an email server works. You cannot guarantee both machines will NOT get the same email. No, you cannot download the emails and simultaneously mark them as read. While machine1 is downloading the emails, machine2 can be doing the...
17 Sep 2011 by DaveAuld
I suggest you start by reading; http://msdn.microsoft.com/en-us/library/bb891803(v=exchg.140).aspx[^]
17 Aug 2015 by David Harper
Here is other good option available at http://www.edbtopstutility.org/ which provides an easy way to recover corrupt or inaccessible edb files and fix all issues like file size error, jet errors, server failure or downtime etc. This tool convert recovered edb files to accessible outlook pst...
3 Jun 2016 by Demon Slayer
Hi everyoneMy question his as follows. I wrote a software, that sends email's. At the time the exchange server was exchange 2010, and everything was working fine. On the following weeks the version is going to be upgraded to exchange 2016. How do i config the following line
17 Dec 2013 by Developer Hemu Patel
HelloI am developing WCF Service which use the EWS Managed API.I am stuck. I have to access the field name "use urn:schemas:httpmail:messageflag" using the EWS Managed API to set the EmailMessage Property on the Exchange server.How can you provide direction how to do...
29 Oct 2012 by djvc
I've created a program in visual basic. I found also a project in C#. But I've read on google that it's impossible to make a project containing visual basic and C# language. So i was thinking, how to send the output of an console application (C#) to my project visual basic application. the...
17 Nov 2014 by donaldchandler89
We are backing up mailboxes on an Exchange 2007 server and have recently started seeing a backup error on one mailbox out of about 25.T-597: PtSend: cmd MbeF/msg RdBg: byte count 1041 exceeds maximum of 1024Trouble reading files, error -523 ( service transaction error)Anyone know what...
10 Apr 2014 by dorababu407
Hi all, I want to know best way for Email Notifications in Exchange server. My organisation has 10 users, i want to get notification if any user mailbox got any new mail.i need to create API, that was consumed by another Team in their Application.I am using Exchange server...
15 Jul 2010 by Dragonfly_Lee
Hi Guys,I encountered a issue when trying to get the email address of the Exchange user in multi-domain environment.Scenario:1.user1 is in DomainA; its email like user1@DomainA.com2.There is another user in DomainB with the same name as user1 in DomainA, whose email would be...
4 Sep 2015 by droka1984
I use below code to send mail with attachments from a Lotus Notes client to internet mailboxes.All of other mailboxes work well with this code, however when my mail send to Microsoft Exchange 2010 and Outlook the attachment has been parsed to garbled languages in text body. I tried many ways...
6 Aug 2010 by E.F. Nijboer
If you already have the working VB script it must be very easy to port this if you're used to cpp. Simply look at the vb code that finds the storage groups now and I'm sure it is easy to find the matching cpp code for that. Good luck!
12 Jan 2011 by E.F. Nijboer
Have a look at this msdn page that might help you out:http://msdn.microsoft.com/en-us/library/aa488364%28v=exchg.65%29.aspx[^]In IBodyPartPtr the content type is set to "message/rfc822":bp->Fields->Item["urn:schemas:mailheader:content-type"]->Value = _variant_t("message/rfc822");Good...
18 Jun 2012 by El_Codero
Hi,please read this topic at SO, should also work for you:http://stackoverflow.com/questions/1469791/powershell-v2-remoting-how-do-you-enable-unecrypted-traffic[^]Regards
21 Oct 2016 by F-ES Sitecore
Configure Exchange so that "EmailSender" has the rights to send messages on behalf of other people. You'll need to google how you do that, Exchange config is outside the scope of this site.
11 May 2018 by F-ES Sitecore
You need to contact whoever administers the smtp server you are using ("server30.company.local") and tell them you want to relay from the company.com domain and follow their advice. They might flat out say you can't, they might be able to configure their server to allow this, they might give you...
27 May 2013 by Farrukh Zohaib Arien
Greetings,I am trying to create an application through which a designer with no direct access to exchange server can put HTML disclaimers and application can then save that HTML to an already created disclaimer rule on exchange.For the purpose I would like to know if is there any...
18 Nov 2020 by Frankie_M
Right now I use this code to retrieve the body of an email from Exchange 2010: i.Load(New PropertySet(BasePropertySet.IdOnly, ItemSchema.Body)) Dim strEmailBodyLines() As String = Split(i.Body.Text, vbCrLf) Unfortunately I get a HTML response,...
21 Mar 2013 by FrankParisien
To get and set OWA signature (plain and html) and other OWA settings is possible with Exchange Web Services .NET
29 Oct 2012 by Frederico Barbosa
You cannot mix C# and VB code in "a" project. However, you can have a Solution with several projects, each one with its own source language. And, of course, you may reference one project from another.
31 Aug 2011 by Ganesan Senthilvel
A succesful ExchangeService message has the below format:
6 Sep 2011 by Ganesan Senthilvel
Dan wrote in his msdn blog for unread mail using ExchangeServiceBinding. Plz refer at: http://blogs.msdn.com/b/webdav_101/archive/2007/11/29/ews-csharp-list-unread-inbox-messages-using-a-restriction.aspx[^]
14 Apr 2016 by Garth J Lancaster
iirc you dont change user passwords through EWS - why? because they are not stored there, they are stored in MS Active Directory, so you use MS ADSI to change the password you may find these links helpful Invoking ADSI Methods[^]The .NET Developer's Guide to Directory Services User...
7 Apr 2011 by GenJerDan
AD configurations can differ a bit. MY distro lists are accessible via LDAP://OU=Distribution Lists,OU=LocalOU,OU=NotSoLocalOU,DC=Some,DC=Thing,DC=Else,DC=HereBut what do you mean by "don't resemble"? Completely wrong, or not in the format you think they should be in?EDIT: ...
20 Oct 2015 by Gokulprasad05
MailMessage msg = new MailMessage(); msg.To.Add(new MailAddress("someone@somedomain.com", "SomeOne")); msg.From = new MailAddress("you@yourdomain.com", "You"); msg.Subject = "This is a Test Mail"; msg.Body = "This is a test message using Exchange OnLine"; msg.IsBodyHtml...
23 Apr 2012 by Guirec
Give a try without the domain name (or computer name) in your login name (remove the ABC\ part).. I experienced a similar issue when using EWS from C#.
11 May 2022 by Haifovchanin
The application may access the same mailbox from two different computers and retrieve unread emails. I'd like to change mail status to Read immediately on mail retrieving to avoid downloading the same email to multiple stations. What I have...
17 Oct 2012 by harshal rajkotia
Hi,I created cloud project with email sending functionality using Exchange Webservies Api. But when I deployed the solution on azure it give below error :- "at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverResponse..ctor() at...
26 Feb 2015 by hebsiboy
Remove Remove Remove Remove Remove Remove Remove Remove Remove Remove Remove RemoveRemove Remove Remove Remove Remove Remove Remove Remove Remove Remove Remove Remove
3 Oct 2017 by IamWsk
I want to import contacts into a mailbox (exchange server) from my DB and that contacts should be access from anywhere when user login to that email. Unlike outlook that remains limited for specific computer. What I have tried: I tried nothing as I don't get anything to try.
3 Oct 2017 by IamWsk
I got the solution here is my code ExchangeService service = new ExchangeService(); service.Credentials = new NetworkCredential(username, password); service.AutodiscoverUrl(emailaddress); Contact contact = new Contact(service); contact.GivenName = "ABC"; contact.Surname = "XYZ";...
30 May 2013 by Ivan Startsev
Hi all!I`m using EWS Proxy Classes to create new items in ExchangeServer(emails, calendars and etc.). I ahve only one problem: i need to create item with custom CreationTime ( for example, like message was created a month ago ).DateTimeCreate property is one of properties, that don`t have...
2 Jul 2013 by Ivan Startsev
Hi!I need to uniquely identify the user's mailbox. For example, it would have helped the owner's name.Is it possible to get any information of mailbox via EWS?Thanks in advance.
19 Feb 2014 by Jagadeesh Bollabathini
Did you solved this problem?I am also facing this.Please help me, if you got it
25 Jun 2012 by Jamil Hallal
Any sample code on how to update a contact in exchange ? I tried a sample code from the microsoft site but it doesn't show how to update the Business Address, Home & Other addresses, please note that i'm not using the EWS Managed API.This is my code:static void...
26 Apr 2015 by Jamil Isayyed
Hello Folks,i have an exchange server 2010, i want to change the format of the messages to text.i am using currently the RoutingAgent class and trying to change the format through the MIME document, i am not sure if i am in the right direction!but how i can change in the MIME...
30 Apr 2015 by Jamil Isayyed
Hello Folks,I have implemented a transport agent to convert all the HTML messages to plain text, the transport agent works fine with all external messages, where i convert the body and change the content type through the MIME part.but with the internal messages its not working fine, i...
5 May 2015 by Jamil Isayyed
Hello Folks,i have been trying to create a transport agent which change the Body format for internal mails which use the TNEF parts - Internal emails.what i found that the body format changed from HTML to none when i created a TNEFwriter object as follow: MimePart tnefPart...
20 May 2015 by Jamil Isayyed
Hello Folks,I am trying to convert all internal mails (TNEF format) in exchange server to plain text.i successfully converted the body, but i couldn't convert or change the body format in the TNEF message to plain text which is different than the External mails where we use the headers...
20 Mar 2020 by Joan M
Hi all, I've just got Office 365 Business Premium working, configured the mail and an HTML disclaimer to get automated signatures to my mails. When I send a mail, the picture in my signature is not downloaded automatically, which makes the mail...
20 Mar 2020 by Joan M
I've found the BASE64 image embedding system, which seems to convert the image to a string of chars that you can insert in your disclaimer. This embeds the image automatically.
24 Feb 2015 by Joan Magnet
Web services need to know what type of data are you sending.Data Types Supported by XML Web Services Created Using ASP.NETCan you xml-serialize the attached data?XmlSerializer Class
28 Mar 2012 by Jochen Arndt
See RFC 1939[^].The reason of the failure is usually send with the -ERR response.The QUIT command may fail if the server can't delete messages that has been marked for deletion with the DELE command. You must assume that no or not all marked messages has been deleted. A new connection...
3 Jun 2012 by JohhnyRysen
With the help of Exchange Server Fix Toolbox you may extract .edb contacts, messages, calendars, tasks and provides the detailed log of recovery process.
26 Oct 2014 by JohnBradley
Here are few common export command samples: Export a single mailbox for user xxxx.xxxx to a directory c:\pstexport Export-Mailbox -Identity xxxx.xxxx -PstFolderPath c:\pstexportExport all mailboxes from a designated mailbox database Get-Mailbox -Database "mailbox database 0255331145"...
18 Nov 2014 by johngolden666
How big is that mailbox (both size & item count) & is it significantly larger than other mailboxes in the environment?It might be worthwhile to move the mailbox to a new database just because if there is any corruption, it'll sort it out. The other option would be to then run an isinteg but...
7 May 2013 by Johnny J.
Try wrapping "string version = (string)product["Version"];" in a try/catch - could be that there are some objects that don't have a version - and that could cause the execution control to go haywire...
10 Jul 2019 by Kamalllll
Currently my application has ability to process incoming emails and bounce then back if it does not match with given criteria in code. However, I want to add up another type of email to Process which are NDR "Non-Delivery Reports" from Microsoft Exchange Server. So my application do not...
20 Oct 2015 by kartheeknr
Hi,We are working in Mailing system in asp.net,our client using Microsoft exchange server outlook.office365 . we are getting "System.Net.Mail.SmtpException: The operation has timed out error ". i google all sources but didn't work for me.Please help us. Thanks in...
8 Jun 2014 by karthik Udhayakumar
Ahmet,Check this link ,hope it solves# 6: Create hyperlinks for quick accesshttp://www.techrepublic.com/blog/10-things/10-ways-to-customize-outlook-menus-and-toolbars/[^]All the Best.Write back if this doesnt work or improve your question for better solutions
16 May 2013 by khurram_shahzad
Hi,My question/issue is related to jWebDav library to connect to Microsoft Exchange Server from my Java web Application.thing is that I'm using jwebDav to connect to Microsoft Exchange Server from my java web Application in internal network. when my application go to access users mailbox it...
21 May 2013 by khurram_shahzad
Hi,i just got chance yesterday to check the issue with client server. we have tried many ways but both IT and Me cannot figure the actual cause, but yesterday i've tried this thing (calendar integration) with jwebservices library http://www.independentsoft.com/jwebservices/index.html[^] and...
27 Apr 2011 by Kim Togo
Take a look at this http://www.independentsoft.com/[^] it is not for free. But has some really good API for .NET.
27 Apr 2011 by Kim Togo
Have you looked at Exchange Web Services Managed API 1.1 SDK[^]
19 Jun 2011 by Kim Togo
When you new server is Windows Server 2008 and Exchange 2010. You have to prepare the Active Directory[^] and then migrate all users to Exchange 2010[^].
16 Nov 2015 by kingsa
Hi All,I want to login into Lync 2013 through Share point 2013, can you guide or send snippets.
17 Jul 2018 by Kiran Kumar Chinta
While performing queries against Active Directory Domain Services using one of the .NETs’ reference/namespace i.e., System.DirectoryServices, we are unable to create AD account containing numeric(s) in Display Name or Email Address. It’s a 2 step process, creating the mailbox and then updating...
11 Dec 2012 by kk2014
hi all,i am sending mail through exchange server version Exchange2010.below is my code:static void Main() { try { string owausername = string.Empty; string owapassword = string.Empty; string...
11 Dec 2012 by kk2014
actually in my above code i commented throw ex;. so i uncomment it and wrote below code to raise error.System.Windows.Forms.MessageBox.Show(ex.Message.ToString());throw ex;and i found it throws error :the request failed.unable to connect to remote server.actually my exchange...
16 Mar 2013 by kk2014
Hi all,i got the below issue while sending mail from my VB 6.0 application.The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was availableI have tried to replicate but no luck.can anybody tell me is this problem is from...
21 Oct 2014 by Kushan Randima
HiIs there a way to read email headers in Outlook Web Access (OWA)?. I want to read headers using C# for the selected mail item. Thanks for helping,Kushan Randima.Software EngineerDavton Ltd
19 Sep 2012 by Kuthuparakkal
Have you tried EWS Managed API:http://msdn.microsoft.com/en-us/library/exchange/dd633696(v=exchg.80).aspx[^] http://www.microsoft.com/en-us/download/details.aspx?id=28952[^]
29 Sep 2014 by LenJ67
Using PowerShell and EWS to write/update public folder contacts.
10 Jul 2019 by Maciej Los
Check this: Parse Non-Delivery Report (NDR) in C#[^]