<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'Exchange'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Exchange&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'Exchange'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Get mailbox size from exchange server 2003</title><link>http://forums.asp.net/thread/3472568.aspx</link><pubDate>Thu, 22 Oct 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3472568</guid><dc:creator>shadyi</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve been searching for a few days how to get the mailbox size and current usage from exchange server 2003. I need to be able to specify a single mailbox and only get its size. I don&amp;#39;t want to get info for all mailboxes, just one or some.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Everything I&amp;#39;ve tried failed. Can anyone please direct me to something that works with exchange 2003 hosted on windows server 2003.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thank you.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Exchange 2003 /  MAPI / ASP.NET</title><link>http://forums.asp.net/thread/3367727.aspx</link><pubDate>Tue, 25 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3367727</guid><dc:creator>Yanayaya</dc:creator><description>&lt;p&gt;&amp;nbsp;I have been tasked (once more) with the production of a simple web page that will display all the messages from a specific exchange mail box on our server. I have been told that MAPI is the way to go.&amp;nbsp; However I need to know how to code this kind of project in ASP.NET 3.5.&amp;nbsp; Specifically because it will be integrated into system I am making at the moment.&lt;/p&gt;
&lt;p&gt;Simply put I need one web page that displays all messages (to/from/date/subject/content) from a specific mailbox on our exchange server (SBS2003 running Exchange 2003)&amp;nbsp; We had a classic asp page that did this prior to this redevelopment that looked like this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt;&amp;lt;%@ LANGUAGE=&amp;quot;VBSCRIPT&amp;quot; %&amp;gt;
&amp;lt;HTML&amp;gt;
&amp;lt;HEAD&amp;gt;
&amp;lt;TITLE&amp;gt;Sales Emails&amp;lt;/TITLE&amp;gt;
&amp;lt;/HEAD&amp;gt;
&amp;lt;BODY&amp;gt;

&amp;lt;%
CONST strServer= &amp;quot;server01&amp;quot;
CONST strMailbox  = &amp;quot;Sales&amp;quot;
Dim objSession
Dim objMessages
Dim objOneMessage
Dim objFolder
Dim strMessage

&amp;#39;Page Header
response.write &amp;quot;&amp;lt;h1&amp;gt;Sales Address Emails&amp;lt;/h1&amp;gt;&amp;quot;

&amp;#39;Logon Details for Exchange Server
strProfileInfo = strServer &amp;amp; vblf &amp;amp; strMailbox
Set objSession = Server.CreateObject(&amp;quot;MAPI.Session&amp;quot;)
objSession.Logon , , , False, , True, strProfileInfo

&amp;#39;Get Messages from Inbox
Set objFolder = objSession.Inbox
Set objMessages = objFolder.Messages

&amp;#39;Display number of messages
Response.Write(&amp;quot;&amp;lt;h2&amp;gt;Number of messages in &amp;quot;&amp;amp; objSession.Inbox.Name &amp;amp; &amp;quot; = &amp;quot; &amp;amp; objMessages.Count &amp;amp; &amp;quot;&amp;lt;/h2&amp;gt;&amp;lt;br&amp;gt;&amp;quot;)

&amp;#39;Header of table
Response.Write &amp;quot;&amp;lt;table cellspacing=0 cellpadding=3 border=1&amp;gt;&amp;lt;thead&amp;gt;&amp;quot; &amp;amp; _
&amp;quot;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Date&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;From&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Subject&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Body Text&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Attachments?&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/thead&amp;gt;&amp;lt;tbody class=bodyblue &amp;gt;&amp;quot;

&amp;#39;Write all messages into table
numrows = objFolder.Messages.Count
For i = numrows To numrows - 99 Step -1

	Set objOneMessage = objFolder.Messages(i)

	If objOneMessage.Attachments.Count &amp;gt; 0 Then
	strAttachments = &amp;quot;Yes (&amp;quot; &amp;amp; objOneMessage.Attachments.Count &amp;amp; &amp;quot;)&amp;quot;
	Else
	strAttachments = &amp;quot;No&amp;quot;
	End If
	strMessage = Left(objOneMessage.Text,100) &amp;amp; &amp;quot;...&amp;quot;
	strMessage = Replace(strMessage,chr(13),&amp;quot;&amp;quot;)
	strMessage = Replace(strMessage,Chr(10),&amp;quot;&amp;quot;)
	strMessage = Rtrim(strMessage)
	
	maxLen=30
	sSubject = objOneMessage.Subject
	if len(sSubject&amp;gt;maxLen) then sSubject = left(sSubject,maxlen) &amp;amp; &amp;quot;...&amp;quot;
	
	Response.Write &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td valign=top width=50 &amp;gt;&amp;quot; &amp;amp; _
	day(objOneMessage.TimeReceived) &amp;amp; &amp;quot;/&amp;quot; &amp;amp; month(objOneMessage.TimeReceived) &amp;amp; &amp;quot;/&amp;quot; &amp;amp; Year(objOneMessage.TimeReceived) &amp;amp; &amp;quot; &amp;quot; &amp;amp; hour(objOneMessage.TimeReceived) &amp;amp;_
	&amp;quot;&amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td valign=top width=50 &amp;gt;&amp;quot; &amp;amp; objOneMessage.Sender &amp;amp; &amp;quot;&amp;nbsp;&amp;lt;/td&amp;gt;&amp;quot; &amp;amp; _
	&amp;quot;&amp;lt;td valign=top width=80&amp;gt;&amp;quot; &amp;amp; sSubject &amp;amp; &amp;quot;&amp;nbsp;&amp;lt;/td&amp;gt;&amp;quot; &amp;amp; _
	&amp;quot;&amp;lt;td valign=top width=600 &amp;gt;&amp;quot; &amp;amp; strMessage &amp;amp; &amp;quot;&amp;nbsp;&amp;lt;/td&amp;gt;&amp;quot; &amp;amp; _
	&amp;quot;&amp;lt;td align=top valign=top width=10&amp;gt;&amp;quot; &amp;amp; strAttachments &amp;amp; &amp;quot;&amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;
Next

&amp;#39;Logoff and tidy variables
objSession.Logoff
Set objOneMessage = Nothing
Set objMessages = Nothing
Set objFolder = Nothing
Set objSession = Nothing
%&amp;gt;
&amp;lt;/BODY&amp;gt;
&amp;lt;/HTML&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;However this code can no longer be used.&amp;nbsp; They want it in asp.net now and I need any advise you can give. Some simple code or are the controls now that can deal with this.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I am using VWD 2008&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yan&lt;/p&gt;</description></item><item><title>Re: Sending in eMail out of an asp.net page (microsoft exchange)</title><link>http://forums.asp.net/thread/3340569.aspx</link><pubDate>Tue, 11 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3340569</guid><dc:creator>henne</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;&lt;p&gt;I now tried to use this solution.&lt;/p&gt;&lt;p&gt;Webconfig:&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="xhtml"&gt;  &amp;lt;system.net&amp;gt;
    &amp;lt;mailSettings&amp;gt;
      &amp;lt;smtp&amp;gt;
        &amp;lt;network 
             host=&amp;quot;&amp;quot;
             userName=&amp;quot;testuser&amp;quot;
             password=&amp;quot;******&amp;quot; /&amp;gt;
      &amp;lt;/smtp&amp;gt;
    &amp;lt;/mailSettings&amp;gt;
  &amp;lt;/system.net&amp;gt;&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; And this in the code behind file:&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="vb.net"&gt;    Public Shared Sub Send(ByVal o As Object, ByVal e As EventArgs) Handles Button1.Click

        &amp;#39;!!! UPDATE THIS VALUE TO YOUR EMAIL ADDRESS
        Const ToAddress As String = &amp;quot;tester@test.de&amp;quot;

        &amp;#39;(1) Create the MailMessage instance
        Dim mm As New MailMessage(&amp;quot;tester2@test.de&amp;quot;, ToAddress)

        &amp;#39;(2) Assign the MailMessage&amp;#39;s properties
        mm.Subject = &amp;quot;test&amp;quot;
        mm.Body = &amp;quot;body&amp;quot;
        mm.IsBodyHtml = False

        &amp;#39;(3) Create the SmtpClient object
        Dim smtp As New SmtpClient

        &amp;#39;(4) Send the MailMessage (will use the Web.config settings)
        smtp.Send(mm)
    End Sub&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; At first, would this code work with the correct information?&lt;/p&gt;&lt;p&gt;Second: How do I get the smtp information of the exchange server? I wasn&amp;#39;t able to find them in Outlook, as the &amp;quot;Account&amp;quot; option is deactivated.&lt;/p&gt;&lt;p&gt;Third: For loging on to the exchange server I want to use the Windows Login of the the user currently working on the computer, as it is the same as the login for the exchange server. Is this possible?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Questions and answers about .Net and Microsoft for dummies</title><link>http://forums.asp.net/thread/3248355.aspx</link><pubDate>Sun, 21 Jun 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3248355</guid><dc:creator>Naruto09</dc:creator><description>every thing about .NET and microsoft :
http://allaboutmicrosoft.net</description></item><item><title>Re: Q: Create groups of mailstores?</title><link>http://forums.asp.net/thread/3160991.aspx</link><pubDate>Wed, 13 May 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3160991</guid><dc:creator>cwilliams@ems-cortex.com</dc:creator><description>&lt;p&gt;Hi Mika,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think this is easily possible through MPS.&amp;nbsp; If you are interested in looking at alternative solutions - Cortex (our product) allows you to assign mail stores to customer or user level plans - we have customers that use this for the scenario you&amp;#39;ve described.&lt;/p&gt;
&lt;p&gt;Please take a look at our website for more information, &lt;a href="http://www,ems-cortex.com/"&gt;http://www,ems-cortex.com&lt;/a&gt; &lt;/p&gt;</description></item><item><title>Please help Exchange server shared calendar</title><link>http://forums.asp.net/thread/2999394.aspx</link><pubDate>Wed, 11 Mar 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2999394</guid><dc:creator>bluenile</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;I am using exchange server 2007 and vs 2005 and my requirement is when i some one add an event through my application ,that event should get added to everyones calendar in the exchange server .&lt;/p&gt;&lt;p&gt;For eg : If i add an event like im planning for tour,then everyone in my exchange server mail list should get this in there calendar. &lt;/p&gt;&lt;p&gt;Could anyone help?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Integrating Exchange Server to asp.net</title><link>http://forums.asp.net/thread/2870805.aspx</link><pubDate>Fri, 16 Jan 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2870805</guid><dc:creator>satishreddy7</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a situation in my project that need integratation of exchange server with my web application. &lt;/p&gt;
&lt;p&gt;1)&amp;nbsp;&amp;nbsp;First situation is&amp;nbsp;I need to read all the incoming mails and save the content of the e-mail, sender and reciever details into a database. &lt;/p&gt;
&lt;p&gt;2) Second is i need to check one condition and based on that some outgoing mails has to be sent for supervisors approval. if Supervisor appoves that mail that mail should be sent out to the concerned mail id with from address as agents mail id not with supervisors mail id. If the supervisors rejects it then the mail should return back to be agent with subject as &amp;quot;Rejected By supervisor&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can anyone suggest me any solution for this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Satish Reddy&lt;/p&gt;</description></item><item><title>Change Password</title><link>http://forums.asp.net/thread/2820706.aspx</link><pubDate>Fri, 19 Dec 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2820706</guid><dc:creator>pterevinto</dc:creator><description>&lt;p&gt;I have a website that sends mails for issue reports.&lt;/p&gt;&lt;p&gt;The webiste uses an exchange user as&amp;nbsp; Network Credential.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I wanted to konw if there&amp;#39;s a way to progamatically change the Exchange Password (as it expires each 90 days)&amp;nbsp; from the application.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;&lt;p&gt;Pablo T &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error while creating appointment into Exchange Server</title><link>http://forums.asp.net/thread/2812133.aspx</link><pubDate>Tue, 16 Dec 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2812133</guid><dc:creator>bluenile</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;&lt;p&gt;I am getting this error 

&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Reference
required to assembly &amp;#39;ADODB, Version=2.8.0.0, Culture=neutral,
PublicKeyToken=b24c814810522da8&amp;#39; containing the type &amp;#39;ADODB.ConnectModeEnum&amp;#39;. &lt;/p&gt;&lt;p&gt;&amp;nbsp;

when i try to create an appoint into Exchange Server using visual studio 2008 im getting this error.I get error in this line &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .DataSource.SaveToContainer().&lt;/p&gt;&lt;p&gt;Please help me to solve&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Exchange Server 2003 Calendar Appointments progamming</title><link>http://forums.asp.net/thread/2659858.aspx</link><pubDate>Thu, 02 Oct 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2659858</guid><dc:creator>gainingam</dc:creator><description>&lt;p&gt;This is to be programmed using Visual Studio 2005/2008 and C#. Anticipating to share knowledge with great minds.&lt;/p&gt;
&lt;p&gt;Issue scenario I am facing:&lt;/p&gt;
&lt;p&gt;- I need to create an exchange server Calendar Appointment detail with extra information or metadata&amp;nbsp; - the extra information will be like a string information; example a website url info.&lt;br /&gt;The objective is to call this url when the appointment datetime is reached. &lt;/p&gt;
&lt;p&gt;I understand that all/most of the objects visible to OUTLOOK interface have corresponding objects in the Exchange Server Calendar Appointment Classes.&lt;/p&gt;
&lt;p&gt;- I have an objective to query through all the Exchange Server Calendar Appointments and filter out the ones with the URL/extra information that has been written/saved.&lt;br /&gt;Is this possible?&lt;/p&gt;
&lt;p&gt;- Is it also possible to query through all the Exchange Server Calendar Appointments details of all the other USERS? I was able to access only the login user Appointment detail. Requirement is to access all the Appointments of all users. What is the correct Algorithm?&lt;/p&gt;
&lt;p&gt;- If I have an account in the Exchange Server 2003, will granting the account Admin rights allow access to all the other users Calendar Appointments? &lt;br /&gt;If yes, What is the access pattern? Is it like:&lt;br /&gt;&amp;gt; get all user accounts &amp;gt; for each account iterate through the Appointments?&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;&amp;gt; get all Appointments of all user?&lt;br /&gt;If no, how do we access all Calendar appoints?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;- I intend to develop a windows service running in the exchange server, which will poll through all the appointments and triggers actions when the appointment date time is reached. The action will be like calling a URL or triggering application. This url or application information is what is required to be preserved while creating Calendar Appointments.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Will really appreciate if anyone could share their understanding on this.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;-Gainingam&lt;/p&gt;</description></item></channel></rss>