Click here to Skip to main content
15,899,475 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 Title

Exchange Server 

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...
4 May 2011 by Member 3362773
Hi,I have a requirement to develop a web based mail monitoring tool for a supporting team using asp.net, c#. That tool should have to access Exchange Server (2007 or 2010) mail account by giving mail id and password and get those mails and store those in a SQL Server 2008 database. Can...
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[^]
5 May 2011 by Member 3362773
Hi,I could complete the difficult part of the requirement with the Exchange Web Service. The articles at the URLs given below were very helpful for it....
30 May 2011 by Member 3362773
Hi All,As I stated in my previous post,the required application completed with exchange Web Services. Thats working fine except one issue.When using SyncFolderItems method of the Exchange Web Services; the SyncState grows in size rapidly when there are more mails to be syncronised. (Ex:...
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...
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]";
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 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[^].
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...
4 Sep 2015 by Nandeotifur
I am currently trying to extend functionality of a HTA/vbscript. The current coding will allow to look up a single user on AD, allow password reset, unlocking of account as well as display name, description, employee type, email, password validity timeframe, account status, home postal address,...
6 Oct 2010 by patilsandip.mca
Hello friends,Please tell me how to add the flag facility to the exchange server created using c#.netWaiting for you reply.Thank You!
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...
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...
12 Jul 2013 by natharza
Is there a way to implement second exchange server in an organization that will act as a backup. If the primary exchange server fails then the backup will come to play providing high availability like additional domain controller in AD environment.Please share in detail as I am a novice in...
12 Jul 2013 by Mehdi Gholam
Start here : http://technet.microsoft.com/en-us/library/dd638137%28v=exchg.150%29.aspx[^]
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...
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 -...
19 Aug 2010 by psymon25
HiI have been trying to create a calendar appt via a winform with 0 success.After looking around on google i found many examples all of which did not work?I guess this is due to the exchange server setup as we can no longer access via webdav urls such as https://server/user/?cmd...
19 Aug 2010 by Nathan St
You should be using the Exchange Web Services Managed API. "EWS combines the functionality that is included in WebDAV and CDOEX".I don't have a code snippet to hand as I'm not in work just now, but I've done exactly what you describe in your question for a project last year - I'll dig it...
19 Jan 2015 by Member 11380736
c# Visual StudioIs it possible to send emails with a digital signature through an exchange server ?I'm able to send emails with EWS Managed API 2.1 (Microsoft.Exchange.WebServices.Data; reference) in c# Visual Studio.But know I want them to have a digital signatureThis is my mail...
16 Jan 2015 by Member 11380736
I have some c# code that creats a standard email and sends it through an exchange server.I have 6 textboxes in this mailform: from,to,subject,exchangeserver,user and password.If the user textbox is preset with the user info (found from mssql server) it won't send the mail. This...
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.
16 Jan 2015 by Member 11380736
I solved it.The problem was that when the user id was found in the mssql database and writen to the bruger.Text it added some empty spaces. I think it's the .ToString();that did this.My solution was to write this line:bruger.Text = bruger.Text.Replace(" ", ""); ...
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.
14 Apr 2016 by Vijay Radia
I want to notify user 5 days before his password going to expiry.. I found the expiry date of email account on server but now i want to create a page to change password programatically using EWS Managed API..Can anyone help Me?What I have tried:I Found expiry date but not getting...
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...
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...
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...
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
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...
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...
21 Mar 2013 by uspatel
Hi,I am using two mail server.MS Exchange ServerZimbra Mail Serverboth have different user names.My company needs to develop a webpage as login page.If user of Excahnge server login through this page then he is redirected to Excahnge mail server without asking credential...
6 Jul 2017 by pranay_w3
I have built an SSIS package which reads CSV from certain folder. But now I need to download same csv from exchange server.Also Outlook is not installed on my machine. Will I be able to download CSV from exchange server and how ? Thanks! What I have tried: I have found out it can be done...
6 Jul 2017 by Richard Deeming
I'd suggest using either IMAP or POP3 to fetch the email. You'll then need to parse the message to extract the attachment. Fortunately, the hard work has already been done for you! MimeKit[^] GitHub - jstedfast/MailKit: A cross-platform .NET library for IMAP, POP3, and SMTP.[^] GitHub -...
31 Aug 2011 by Pradip_Bobhate
I want to download/ access attachment from particular mailbox. I am trying to do using following code however I am not getting any attachment. (may be because AttachmentID's are not proper)ExchangeServiceBinding esb = new ExchangeServiceBinding(); esb.RequestServerVersionValue = new...
31 Aug 2011 by Ganesan Senthilvel
A succesful ExchangeService message has the below format:
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...
19 Mar 2013 by vrsangeetha
Dear All,We need to use the contact details from OWA in our application.Kindly let me know solutions for the following1.In case user is configured email Signature in OWA can we get the signature from exchange using Exchange web services ?2. Getting personal contacts using the EWS3. Above...
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
6 Mar 2015 by mahesh kumar BM
I have a task where i need to check the emails delivered to my mailbox and read them ,based on subject i have to do some task. But for demo purpose I have put only the basic functionality of just updating the email read statusThe basic connection and creating service object everything is...
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.
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...
3 May 2012 by Sebastian T Xavier
Hello,I was trying to connect to a machine(192.168.1.194); using powershell using the following query Enter-PSSession 192.168.1.194. But I got the following error. Enter-PSSession : Connecting to remote server failed with the following error message : Access is denied. For more...
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?
20 Aug 2015 by Member 11728839
enter-pssession -ComputerName $computer
10 May 2012 by Sebastian T Xavier
Hello,I am working with power shell and Exchange server 2010. I was able to get mailbox details using the following command$server='WIN-APRJ2923AV5.abc.com';$pwd= convertto-securestring 'Global123$' -asplaintext -force;$cred=new-object -typename System.Management.Automation.PSCredential...
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...
25 Jun 2012 by Programm3r
Hi all,In my experience with EWS, why is it necessary to add additional security right on Exchange when querying ExtendedProperty data. When I make use of the following code:public ExtendedPropertyType[] GetExtendedProperties(ItemIdType itemid){ PathToExtendedFieldType...
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 =...
19 Apr 2010 by avg360
Simple mail notifier for Exchange
28 Jun 2016 by Member 12599256
Answer from Microsoft : https://support.microsoft.com/en-us/kb/3006861[^]
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.
11 May 2018 by TempoClick
I am sending a .PDF file as an Email attachment to a SharePoint document library using SmtpClient and MailMessage. I provide the credentials of the sender for authentication but yet I am getting the exception mentioned in the subject. What is wrong and what can I do instead? Is it mandatory to...
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...
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...
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...
2 May 2013 by Ryan Zahra
Hi,I'm trying to connect an Apple IPad 3 to an Exchange User using Exchange 2003 ActiveSync. I've followed this tutorial to do so:Exchange 2003 and Activesync Configuration and TroubleshootingMy setup is on an internal network used for testing and does not have access to the net. This...
4 Apr 2013 by Sebastian T Xavier
Hi All,I was trying to execute following exchange server 2007 (powershell) command.$server='exchangeserver.abc.local';$pwd= convertto-securestring '123' -asplaintext -force;$cred=new-object -typename System.Management.Automation.PSCredential -argumentlist 'Administrator',$pwd;...
3 Feb 2012 by parth891
Hi,i am using Exchange server 2003, I am making SEARCH Request to fetch calender details( which is XML request string) using webdav HttpWebRequest for Resource Mailbox account in my asp.net Application.i am getting "Object reference not set to an instance of an object" Exception.can...
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...
6 Jun 2012 by xtremeguy_manoj2626
Hi All,I have migrated the code to read Exchange Server 2010 Inbox mails and do transactions.My Earlier application will read the mails from Exchange Server 2003 and update all the mail paramaters in application.Now the same code is migrated to Framework 4.0 which reads mail...
6 Jun 2012 by xtremeguy_manoj2626
Now migrated code is working fine in Exchange server 2010
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.
25 Oct 2014 by Mehdi Gholam
Connect via Outlook to those mail boxes and drag/drop the folders you want to a new PST file.http://office.microsoft.com/en-001/outlook-help/export-outlook-items-to-an-outlook-data-file-pst-HA102534110.aspx[^]
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"...
27 Oct 2014 by Member 10634821
I would suggest you to try free trial version of EDB to PST conversion tool. With this tool you can export data from EDB file to PST format in bunch. This application has ability to recover inaccessible mailbox from Exchange server and restore its data into working PST, New EDB, EML, MSG, PDF or...
27 Oct 2014 by Member 11171743
You Can also try RecoveryFix for Exchange Server Recovery software that efficiently converts MS Exchange database (EDB) files to Outlook(PST)file format. The Software proficiently recover corrupt exchange edb file data and restore every items of Exchange Database. For any information visit here...
18 Oct 2015 by matthewproctor
How to extract attachments from Outlook mailboxes using C#
1 Sep 2011 by vinaykhin
Hi,I want to get calender events such as appointments , meetings etc. from microsoft exchange server 2003 through c#.
7 May 2013 by Sebastian T Xavier
Hi All,I am looking for a C# / WMI solution to find the version of Exchange server installed in a machine.I have used the following query and it is not responding. string condition = "Vendor LIKE 'Microsoft%' AND Name = 'Exchange'";string[] selectedProperties = new string[] {...
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...
15 Feb 2010 by Programm3r
Hi all,I am trying to figure out what would be the best approach to get free/busy information form Exchange 2010. I have Googled this for a whole day now, and eventually decided to ask the pro's.I'm not whether I should make use of the Exchange Availability Service, Exchange Web Services...
26 Apr 2011 by Rob Branaghan
Try the following links for...
6 Nov 2012 by Sebastian T Xavier
Hello,Can anyone help me to find number of mailboxes in my Exchange Server instance using Exchange Web Service.Thanks for your time.Sebastian
14 Dec 2016 by Member 11888682
I try a lot of time to write a program, find a piece of code or Api to connect exchange server 2010 SP3 (+) using c#, .net.My goal is to get information about users mailbox like limiting capacity (quota) mailbox, check online the box capacity and set capacity qouta mailbox.Has anyone...
14 Dec 2016 by Chris Quinn
The best site to find information on the use of Exchange server is Outlook and Exchange Solutions Center[^]
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 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
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.
21 Aug 2016 by Member 12696173
I want to add an item to the right-click menu in Outlook Web App in Exchange 2010, so that when the user click in OWA on my created custom menu item , it will go to the new URL (my application) with the properties: ae, a, etc.I followed the steps mentioned in and the replies from...
18 Apr 2014 by Member 10759207
We currently have Exchange 2007 with an already established domain. I have created a new website with new email addresses. How do I get the new domain emaail addresses to forward to the exsisting mailboxes?
20 Mar 2012 by rbloesser
this works with the "full name" but not an alaisFunction userDetail(theAlias As String) As StringDim olkDL As Outlook.DistListItemDim olkEntry As Outlook.RecipientDim olkContact As Outlook.ContactItemDim intCount As IntegerDim strAddress As StringDim strName As StringDim oApp...
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,...
18 Nov 2020 by OriginalGriff
Simplest way is probably to use something like the HTMLAgility Pack to process the HTML and remove the text from that. If nothing else, that approach should work with any system ...
12 Jun 2020 by Tshumore
I cant get this working no matter which workarounds i put in my code . What i am trying to do is send an email using my domain Exchange Server and my usual domain email address. This is my code : static void Main(string[] args) {...
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
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'...