Hi, Can someone please help how to create an Calendar item on Exchange server via SMTP port? I am trying to create appoints from our CRM system automatically on relevant sales managers' diary in Exchange server. I would appreciate any help. Best regards, A Baker
You cant create a calendar item via the SMTP port because adding an appointment to a calendar requires that you use one of the Exchange mailbox access API's (and have the nessasary rights) to do so. If you want to add calendar appointments look at using something like WebDAV or Mapi to do so see the Exchange SDK for more information and samples. http://msdn.microsoft.com/exchange The best you could do over SMTP is create a iCalendar Invitation that someone would have to accept before it was added to there calendar. Cheers Glen "A Baker" wrote in message news:O$Ij8TyeGHA.1204@TK2MSFTNGP02.phx.gbl... > Hi, > > Can someone please help how to create an Calendar item on Exchange server > via SMTP port? > > I am trying to create appoints from our CRM system automatically on > relevant sales managers' diary in Exchange server. > > I would appreciate any help. > > Best regards, > A Baker > >
Hi Glen, Many thanks for your note. We are trying to avoid MAPI. We arre hoping any solution based on CDO. We will look into WebDAV as suggested. Regards, A Baker "Glen Scales [MVP]" wrote in message news:er1KaaffGHA.4004@TK2MSFTNGP04.phx.gbl... > You cant create a calendar item via the SMTP port because adding an > appointment to a calendar requires that you use one of the Exchange > mailbox access API's (and have the nessasary rights) to do so. If you want > to add calendar appointments look at using something like WebDAV or Mapi > to do so see the Exchange SDK for more information and samples. > http://msdn.microsoft.com/exchange > > The best you could do over SMTP is create a iCalendar Invitation that > someone would have to accept before it was added to there calendar. > > Cheers > Glen > > > > "A Baker" wrote in message > news:O$Ij8TyeGHA.1204@TK2MSFTNGP02.phx.gbl... >> Hi, >> >> Can someone please help how to create an Calendar item on Exchange server >> via SMTP port? >> >> I am trying to create appoints from our CRM system automatically on >> relevant sales managers' diary in Exchange server. >> >> I would appreciate any help. >> >> Best regards, >> A Baker >> >> > >