Sending the file attachment of an appointment item to all the invitees of the meeting

D

dev

I have created an outlook add-in using vs2005 and vsto.

After attaching a file to an appointment item in my outlook
calender, i would like to forward this file to all attendees of the
meeting such that on receipt of the mail, the attachment automatically
gets saved to their outlook calender. Is there any way to do this?
 
K

Ken Slovak - [MVP - Outlook]

Get the Recipients collection of the appointment and send an email to each
recipient with that attachment.

Each Recipient has a Type property. If Type is olTo the attendee is a
required attendee. If it's olCC it's an optional attendee, and if olBCC it's
a resource.
 
D

dev

Get the Recipients collection of the appointment and send an email to each
recipient with that attachment.

Each Recipient has a Type property. If Type is olTo the attendee is a
required attendee. If it's olCC it's an optional attendee, and if olBCC it's
a resource.









- Show quoted text -

Thanks for your reply ken. I wanted to know after forwarding the
attachment to all the attendees, how do i make sure that it gets saved
to the recipients calender. Is there any way to do this in outlook
directly? or will this have to be handled via code? The add-in would
be running on the client machine so if i need to handle this via code
how do i go about it? do i need to monitor each mail item that is
recieved and check for the attachment? If I do have to check for each
mail item recieved wouldnt the perfomance on the client machine be
poor?
 
K

Ken Slovak - [MVP - Outlook]

Well, really your best bet is to send the attachment along with the original
meeting request. That would handle the task of automatically adding the
meeting and attached file to the recipient's calendar folder.

If you send an update meeting request that would also work but would update
the original meeting, which may not be what you want. In general if you add
something to a meeting Outlook will want to update that meeting for all the
meeting recipients. So it's best to do everything once at the beginning.
 
D

dev

Well, really your best bet is to send the attachment along with the original
meeting request. That would handle the task of automatically adding the
meeting and attached file to the recipient's calendar folder.

If you send an update meeting request that would also work but would update
the original meeting, which may not be what you want. In general if you add
something to a meeting Outlook will want to update that meeting for all the
meeting recipients. So it's best to do everything once at the beginning.




<snip>




- Show quoted text -

Thanks again for your suggestions. But as per the requirements of the
add-in i am developing i need to allow this attachment to be sent even
after the meeting request has been accepted by all. Not only that,
even the other invitees (other than the one who sent the meeting
request) of the meeting should be able to send this attachment, so
using "update meeting" is not an option. On using the forward option
under the Actions Menu, the meeting along with the attachment can be
sent after the user types in the e-mail addresses it is to be
forwarded to. In this case the meeting itself gets at the updated at
the recipients calender, but the attachment doesnt. How could i force
the attachment to also get saved at the recipients calender?
 
K

Ken Slovak - [MVP - Outlook]

In that case you'd need code running on each recipient's computer that
checked for something special in those incoming items and found the relevant
meeting in the user's calendar and then added or updated the attachment on
the meeting. Making a change like that might (would probably) end up also
causing a meeting update. Good luck with that. Reviewing the specs for the
solution might be a better idea.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top