louise001
asked on
Meeting request sent by system.net.mail is not sent to meeting organise
Hi,
I'm sending an Outlook meeting request (or just put in a meeting without the request side) from an asp.net (vb.net) application. The recipients receive the request and the code runs without throwing any exceptions, but the meeting organiser doesn't receive the request.
If anyone could help I would be grateful.
Thanks,
Louise
I'm sending an Outlook meeting request (or just put in a meeting without the request side) from an asp.net (vb.net) application. The recipients receive the request and the code runs without throwing any exceptions, but the meeting organiser doesn't receive the request.
If anyone could help I would be grateful.
Thanks,
Louise
dim mtg_organiser as string = "jo.bloggs@bloggs.com"
dim subject as string = "Hello world"
dim recipient1 as string = "mary.jane@maryjane.com"
dim recipient2 as string = "andrew.fuller@northwind.com"
dim mtg_organiser as string = "me@mydomain.com"
msg.From = New MailAddress(mtg_organiser)
msg.To.Add(New MailAddress(recipient1))
msg.To.Add(New MailAddress(recipient2))
msg.To.Add(NeMailAddress(me@mydomain.com))
msg.Subject = Subject
' Send the message
SMTPServer.DeliveryMethod = SmtpDeliveryMethod.Network
SMTPServer.Send(msg)
ASKER
Hi,
You're right there's a typo in my attachment on this post but it's not present in my application. What's happening is not quite as I first thought: the mtg_organiser address is receiving meeting requests but (I suppose because they're sent by System.Net.Mail) they have to be accepted in Outlook running on a desktop, whereas what I want is for the meeting requests sent by my application to behave in the Outlook client as they would if the requests had been sent manually from inside Outlook.
Could you or anyone else help with this?
Thanks,
Louise
You're right there's a typo in my attachment on this post but it's not present in my application. What's happening is not quite as I first thought: the mtg_organiser address is receiving meeting requests but (I suppose because they're sent by System.Net.Mail) they have to be accepted in Outlook running on a desktop, whereas what I want is for the meeting requests sent by my application to behave in the Outlook client as they would if the requests had been sent manually from inside Outlook.
Could you or anyone else help with this?
Thanks,
Louise
What you want, then, if I understand you, is to schedule an appointment on the calendar of the organizer instead of sending them an email. Is that correct?
ASKER
Hi,
Yes, that's right. I'm trying to make things behave as they do when a meeting is set up in Outlook - the meeting is placed in the organiser's calendar and they don't have to accept or reject, and it's placed in the calendars of people who are invited and arrives in their inboxes with accept or reject required.
Thanks,
Louise
Yes, that's right. I'm trying to make things behave as they do when a meeting is set up in Outlook - the meeting is placed in the organiser's calendar and they don't have to accept or reject, and it's placed in the calendars of people who are invited and arrives in their inboxes with accept or reject required.
Thanks,
Louise
Ok. what you want to do is create an ICS File for the meeting organizer.
Here are some links to start you on your way....
http://ryanfarley.com/blog/archive/2008/08/08/adding-calendar-items-from-a-webpage-via-icalendar.aspx
http://msdn.microsoft.com/en-us/library/bb655909(office.12).aspx
It can get a bit involved, so check out the links and let me know if you have questions.
Here are some links to start you on your way....
http://ryanfarley.com/blog/archive/2008/08/08/adding-calendar-items-from-a-webpage-via-icalendar.aspx
http://msdn.microsoft.com/en-us/library/bb655909(office.12).aspx
It can get a bit involved, so check out the links and let me know if you have questions.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi again,
Apologies for silence on my part. I've read the links you sent and things are clearer now, I hadn't realised that the system uses internet calendars. I can explain things to my users now so I'll accept your last comment as an answer.
Thanks again,
Louise
Apologies for silence on my part. I've read the links you sent and things are clearer now, I hadn't realised that the system uses internet calendars. I can explain things to my users now so I'll accept your last comment as an answer.
Thanks again,
Louise
It should look like this....
msg.From = New MailAddress(mtg_organiser)
msg.To.Add(New MailAddress(recipient1))
msg.To.Add(New MailAddress(recipient2))
msg.To.Add(New MailAddress(mtg_organiser)
msg.Subject = Subject