Last post Jul 29, 2009 10:46 PM by archanasaigovind
Feb 15, 2008 09:46 AM|Shakira Nayeem|LINK
I am trying to send meeting email to outlook user from asp.net
my code is as follows:
oAppointment.Start = appointmentdate
oAppointment.End = appointmentdate.AddHours(1)
oAppointment.ReminderMinutesBeforeStart = 5
oAppointment.MeetingStatus = OlMeetingStatus.olMeeting
I get the error message "Exception from HRESULT: 0x80004004 (E_ABORT)"
Am I doing somthing wrong? what is the right way? Thanks in advance.
Feb 15, 2008 01:19 PM|Shakira Nayeem|LINK
I found the solution. There is nothing wrong with the code. But I didn't have email set up in my outlook, so at runtime this error was thrown.
After I set up the email in outlook, it performed the desired action.
Jun 29, 2009 03:50 PM|yeling|LINK
I have the same error. You said it worked after you set up email in outlook. How do you mean set up email. I am using a domain account to send these appointments. I can login as that user and open outlook and manually send emails and appointments. Is this
enough or is there something else I am missing? Thanks.
Jun 29, 2009 05:04 PM|Shakira Nayeem|LINK
My development machine didn't have outlook in it. You must have Outlook in the server to send meeting request from outlook. Since my application is web based and the hosting server doesn't have Outlook in it , i have to use an alternate way to do that. (the
code worked when i installed outlook in the development server). I used .ics calendar to send meeting request through system.net. It works like charm.If you want i can forward you the class. (i am out of office today and tomorrow).
Jul 01, 2009 07:27 AM|yeling|LINK
Thank you very much, Shakira! I'd appreciate it if you could send me the code to firstname.lastname@example.org.
Jul 29, 2009 10:46 PM|archanasaigovind|LINK
hi can u tell me how you did and send the coding to email@example.com