Notifications
Announcements
No record found.
Hi,
I want to send an email invitation for a meeting to the contact such that it appears as a meeting invite on Outlook. How can this be achieved?
Please advise.
Thanks,
*This post is locked for comments
Below are few details:
I know one way is to create an Appointment, sync it with Outlook, add attendees and send invite. But can we do this from within CRM? We have a custom meeting entity and we can add our contacts and employees as attendees. But we want to send an email to all those attendees from within CRM such that it appears as a meeting invite/Appointment.
Dear Fahad,
You can create a workflow to send an email when you create or update appointments.
Regards,
Abed.
Create a mail message as a custom workflow activity and send it via SMTP :
Sample approach in code below - note, not production ready. You need to understand the iCal properties you want to set and slot this into the boilerplate workflow activity code accordingly.
// 3rd party libraries to reference using DDay.iCal; using DDay.iCal.Serialization.iCalendar; ... ... // Create the iCal IICalendar iCal = new iCalendar(); iCal.Method = "Request"; ... ... IEvent evt = iCal.Create<Event>(); evt.Summary = summary; evt.Start = new iCalDateTime(eventstartDt).SetTimeZone(local); evt.End = new iCalDateTime(eventendDt).SetTimeZone(local); var serializer = new iCalendarSerializer(iCal); var iCalString = serializer.SerializeToString(iCal); ... ... var mailMessage = new MailMessage { Subject = Summary.Get(_executionContext), From = new MailAddress(FromEmailAddress.Get(_executionContext)) }; // Create the Alternate view object with Calendar MIME type var ct = new System.Net.Mime.ContentType("text/calendar"); if (ct.Parameters != null) ct.Parameters.Add("method", "REQUEST"); //Provide the framed string here AlternateView avCal = AlternateView.CreateAlternateViewFromString(iCalString, ct); mailMessage.AlternateViews.Add(avCal); // Send email try { smtpClient.Send(mailMessage); } catch (Exception ex) { // Log it. }
Ref: http://stackoverflow.com/questions/24434099/send-meeting-notification-from-dynamics-crm-workflow
I hope it will help
Dear Abed,
Thanks for your response. Will that be shown as a meeting invite to the sendee?
Unfortunately ,no
please check : blog.clickdimensions.com/.../add-email-sends-to-your-crm-calendar.html
Fahad,
Create an appointment everytime you create a custom meeting entity..
And create a plugin ..
Example:
blog.mycrmgroup.com/.../Event-Invitation-tracking-in-Microsoft-Dynamics-CRM-2011.aspx
Another third party:
blog.mycrmgroup.com/.../Event-Invitation-tracking-in-Microsoft-Dynamics-CRM-2011
Hope this helps.
Thanks.
Thanks Aileen,
Your first link is not working. Can we do it not using any 3rd party tool?
Hi Fahad,
Very sorry.
I mean the first link is:
www.powerobjects.com/.../sending-meeting-requests-from-microsoft-dynamics-crm-2011
And the second link is:
blog.mycrmgroup.com/.../Event-Invitations-for-Microsoft-Dynamics-CRM2011
Wrongly copied paste :)
Thank you.
But this is not what I am looking for. I think a better way to do so is to programmatically send an email invitation. This could be handled via a plugin or custom workflow activity.
Best,
Fahad
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2