Avatar of BrainyYack1
BrainyYack1

asked on 

How to send a "meeting request" through email in asp.net (C#)

I want to send a meeting request through email  in asp.net (C#). Not attachment. When the "meeting request" email is received, there are "accept", "deline" button on it.

I wonder if it is possible. If yes, could please give a code example.

Thanks  a lot
.NET ProgrammingEmail SoftwareC#

Avatar of undefined
Last Comment
BrainyYack1
ASKER CERTIFIED SOLUTION
Avatar of kennethfine
kennethfine

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of BrainyYack1
BrainyYack1

ASKER


Thanks.  I can use the codes to send and receive meeting request.  But when I click the buttons "accept", "Decline" in the email in the outlook, it shows "As the meeting organizer, you do not need to respond to the meeting".
It seems that "objAppt.RequiredAttendees = toEmail" specify the meeting organizer.
How can I specify general meeting attendees, not meeting organizer? Please give me further help, thanks.

Avatar of BrainyYack1
BrainyYack1

ASKER



The "As the meeting organizer, you do not need to respond to the meeting" is not a problem now.

But I have another problem. The programming works on my development machine, but when I deloyed it on the server, it has the following error: System.Runtime.InteropServices.COMException.

Please help. Thanks.
Avatar of kennethfine
kennethfine

You need to deploy an assembly with your app: it's missing from the production server. That's what the error means. Maybe installing Outlook on the server would help, or maybe you need to copy the entire bin application on your dev machine to your production server.

 
Avatar of BrainyYack1
BrainyYack1

ASKER


There is Outlook on the production server. And I copied the entire bin on my dev machine to the production server.

On my dev machine, it is Outlook 2003. On the production server, it is Outlook 2007. Will this cause problem?
Avatar of kennethfine
kennethfine

Almost surely. Install 2003 on the production server and see if that helps.

-KF
Avatar of BrainyYack1
BrainyYack1

ASKER


  Now I make both the production server and my development machine have the outlook 2007. Still my programming works on development machine. But on productcion server, it does not work, have the error: "System.Runtime.InteropServices.COMException: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))".
  Actually the "sending meeting request" problem has been solved by kennethfine. I will mark it as solution. I will open another new question for the inteop deployment problem (as described above).    
   Kennethfine: Please continue to help me. Thanks.

   

Avatar of BrainyYack1
BrainyYack1

ASKER

Thank you.  I have marked your answer as solution.
But I still cannot make it work on the production server (it works on my development machine). Both of the two machines have outlook 2007.
I will open another question about it. Please continue to help. Thanks
.NET Programming
.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.

137K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo