Home > ASP.Net > Sending a Meeting Request

Sending a Meeting Request

Recently i came across a requirement where we need to send meeting/event invitation in email. Previously, i used to create ICS/iCal file with meeting/event information and this file was attached with the email. End user had to open the attached file to add it to calendar program. But sending an inline (native) meeting invitation was kind of a new requirement. See sample meeting invitations screen below:

Sample Meeting Request Gmail

Sample Meeting Request Gmail

Sample Meeting Request Outlook

Sample Meeting Request Outlook

Following post helped me in understanding the process to send inline meeting invitations/requests.

http://www.ahmedblog.com/Blogs/ShowBlog.aspx?Id=2dc7e9e7-92b4-48cc-a7d1-d6535e5554ab

I have created a class (with the help of code mentioned in above post) to wrap up the functionality of meeting requests. Code can be downloaded here.

Usage of this class is very simple, e.g. if you want to send a meeting request from ASP.Net code, simply call the method in following manner:

MailMessage msg = KP.Web.Mail.CalanderInvite.GetCalanderInviteMsg(“from@mailserver.com”, “From Name”, “to@mailserver.com”, “To Name”, “SUBJECT”, “BODY TEXT”, DateTime.UtcNow.AddHours(2), DateTime.UtcNow.AddHours(3));

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: