By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,562 Members | 1,242 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,562 IT Pros & Developers. It's quick & easy.

Sending MSOutlook mtg notifications programmatically(delete,modify)

P: n/a
I am successfully creating and deleting appointments and sending
invitations in a C# / ASP.NET / Exchange2000 environment. It works
great!

But the problem is that no notifications are sent out when I
programmatically delete or modify appointments. This is a key feature
that we will need and I am looking for information/documentation on
how to send these notifications programatically. The code below is
what I'm using to delete a meeting, but no notification is sent. If
anyone has any insight here it would be much appreciated.

Many thanks,
Kevin
public static void DeleteMeeting(string MeetingURL, string SalesID,
string Password, string Domain)
{
try
{
System.Net.HttpWebRequest Request;
System.Net.WebResponse Response;
System.Net.CredentialCache MyCredentialCache;
MyCredentialCache = new System.Net.CredentialCache();
MyCredentialCache.Add(new System.Uri(MeetingURL),"NTLM",
new System.Net.NetworkCredential(SalesID, Password, Domain));

// Create the HttpWebRequest object.
Request = (System.Net.HttpWebRequest)HttpWebRequest.Create(M eetingURL);

// Add the network credentials to the request.
Request.Credentials = MyCredentialCache;

// Specify the DELETE method.
Request.Method = "DELETE";

// Send the DELETE method request.
Response = (System.Net.HttpWebResponse)Request.GetResponse();

// Close the HttpWebResponse object.
Response.Close();
}
catch(Exception ex)
{
// Catch any exceptions. Any error codes from the DELETE
// method request on the server will be caught here, also.
string excpt = ex.Message.ToString();
DBI.Framework.Exception temp = new DBI.Framework.Exception("Error
in DeleteMeeting method of MeetingManager class." + ex.Message,ex);
}

}
Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.