Re: WebDAV Meeting Request creation and sending

Tech-Archive recommends: Fix windows errors by optimizing your registry



Well, having username/pasword in the picture already hints to a session.
Being on the server, you don't need a session , rather send it using the
server : you are allow to send mail on behalf of anyone in the same domain.
//-----------------------------
here's a sample , using C# and interop ( I'd stay away from WebDAV , in
spite of its appeal sometimes).
Use plain COM invokation ( from a script or VB/C++) or use interop and any
..Net artifacts.
ths one sends an IPM.Note message but you should be able to figure out
how to do appointments
//-----------------------------
CDO.MessageClass objNoticeMsg = new CDO.MessageClass();
objNoticeMsg.To = strEMAIL;
objNoticeMsg.From = strSenderMBX;

objNoticeMsg.Subject = "Your subject ...";
//content
objNoticeMsg.HTMLBody = m_strErpPolicyHtm;

//set importance
objNoticeMsg.Fields["urn:schemas:httpmail:importance"].Value =
CDO.cdoImportanceValues.cdoHigh;
objNoticeMsg.Fields["urn:schemas:httpmail:read"].Value = "False";
objNoticeMsg.Fields["urn:schemas:httpmail:submitted"].Value = "True";
objNoticeMsg.Fields["urn:schemas:httpmail:date"].Value =
DateTime.Now.ToString();
objNoticeMsg.Fields.Update();
//this is key !!!!!!
objNoticeMsg.Configuration.Fields["CdoSendUsing"].Value =
CDO.CdoSendUsing.cdoSendUsingExchange;
objNoticeMsg.Configuration.Fields.Update();

try
{
objNoticeMsg.Send();
}
catch (Exception objExSendMsg )
{
objLog.ErrorFormat ("Error sending a notification message. {0}.",
objExSendMsg.Message);
}
...
//-----------------------------

<shelly3432@xxxxxxxxxxx> wrote in message
news:1157472201.825417.219670@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I am comparatively new to exchange programming. I am trying to send out
meeting requests using Exchange 2003. I used the code in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_sending_a_meeting_request_webdav.asp.

My requirement is to be able to send out meeting requests from someone
else's email account. I have been able to send out meeting requests
successfully if i hard code in the username and password in the code.
But since I do not have the password for other users, I am at a loss of
how to send out meeting requests from their email accounts.

I would greatly appreciate if someone could reply to this ASAP.

Thanks,
Shelly



.



Relevant Pages

  • Re: Meeting requests not all reaching external
    ... Having a problem where some meeting requests are not making it to their ... I have configured a SMTP connector on the Back-end to route all ... any one server, ... routing for all servers in the routing group. ...
    (microsoft.public.exchange.admin)
  • Re: WebDAV Meeting Request creation and sending
    ... I did find an interim solution thru WebDAV though. ... What i did was that i created an email account and gave it calendar ... running on the server and having the right crdentials. ... Meeting requests as well, which does not require the username/password? ...
    (microsoft.public.exchange2000.development)
  • Re: Limit size of Meeting Requests
    ... type...this is really an "education" issue...actually, though, I wouldn't ... think the server would have that much trouble with that size message to only ... > Is there a way to limit size of meeting requests? ... > Multiple NICs for fault tolerance ...
    (microsoft.public.exchange2000.admin)
  • Re: Meeting Requests
    ... > meeting requests. ... but the software is running on many client pc's. ... You can't use the OOM for ... then you could always have a separate server machine running ...
    (microsoft.public.exchange.development)