creating outlook add-in for for outlook 2018 - outlook

I am working on a project where I would create an extension in outlook that would allow you to see how many emails you received and sent for a certain email (#edu.com). I also want to be able to see things like time received, if the person responded, and the average emails responded to for that particular email group. Any ideas on how I could accomplish this. From what I have seen so far, it looks like I should use the Outlook Graph API for. Any ideas or how to get started would be really nice!

Search for code examples, select the closest one and clone it.
After that try to change its functionality.

Related

Creating ICS files that work in multiple mail readers

I am working on a project where we send appointment invites to various users. It has all the normal bells and whistles that most calendar apps have. Our user base is mostly Outlook users, but we do have some who use Gmail and Yahoo and others. Most of what we have works, but there are a few nuances that don't work or only work for certain mail readers. Among the issues we have are:
All day events not displaying correctly (It blocks out the whole day instead of having a notice at the top of the day)
Meeting cancellations not being honored (the original meeting shows up on the calendar, but the cancellation request is not recognized by the mail reader. For example, if I create an event and send it to both a Hotmail and Gmail user, that event is recognized by both. If I send a cancelation for that event to both Hotmail and Gmail, Hotmail will properly remove the event but Gmail says the cancelation email is in an unrecognizable format).
All day events in different timezones span multiple days (due to what I assume is a timezone adjustment)
I'm able to fix every one of these (and other issues) for myself. But, when I try to fix them all, I break something somewhere else. Also, what I fix for myself might not work for another user who has the same email reader.
I have gone online and tried to find a guide for creating ICS files. Most places say to create a calendar event in one of the main mail readers, and then look at the ICS file it generates. I've done that and have been able to get partial success, but once again, not all fixes work for everyone.
I'm assuming the individual mail settings for each user to at least be part of the problem.
I am going in circles at this point. I have an idea on how a lot of the fields in the ICS file work and what they do. But there are some I don't understand, and I'm not sure if different mail readers intepret them differently.
I have checked here and other sites for some insights on how to fix these issues, but I must say, I get a lot of conflicting information.
I've sent calendar invites from both my personal Hotmail and Gmail accounts. Everything I send from those mail readers work perfectly fine. When I try to incorporate the ICS files generated into my project, I get some issues. That leads me to believe that 1) I can find a solution that works for the major mail readers and 2) That I have a lack of understanding on some fields in the ICS file and must make a change (though I don't know what that change is).
So I'm not asking for a specific fix (although I can post what I have and try to tweak from there.). What I really need is a good guide that gives some insight into how and what these fields do. I've looked at the RFC for ICS files...that's 170 pages, and tells about specific fields, but not about the process in general.
One other thing, I have seen ICS and iCalendar used rather interchangeably. Is there an important distinction?

CRM 2013 Quick Campaign shows completed but only part of emails being sent out

My environment is CRM 2013 on premise. I'm trying to run a quick campaign under marketing list. There're 13315 members under marketing list. When I run quick campaign, it took over 3 hours to send 4494 successfully and 18 failures. there're still lots not being sent out. but it shows 'Completed' in Status Reason field. It's wired. Do you know why? is there any limitation for members? Here is the screenshot:
Similar issue reported but no response.
I can give you troubleshooting steps:
Check for any useful errors in platform trace
Verify the status of Email activities using Advanced find (pending send?)
Identify the recipients (members of Marketing list viz Contact,Account) for ‘Do not Allow emails’ flag
Maybe helpful, Not sure if it’s related to you.

How can I add appointment id/data to the link appended to the body of this appointment in Microsoft Exchange?

Just like in the title. I would like users using Outlook to be able to click a link in the appointment which will redirect them to the site with additional data about this meeting. This link should be available in a few seconds after creating this appointment, best immidiately. The link may contain either id to this meeting in Exchange or date, time and room.
Is it possible by using transport rules? I couldn't find anything relevant.
Second way to achieve it may be a service which will scan appointments and append relevant link, but it should work every few seconds and be fully reliable.
Any other way? I can't see anything in message/appointment headers :/
I would like to support Exchange versions from 2010 up to Online.

Exchange - Removing word "EXTERNAL" from Subject line when replying to an external email

We have Exchange server 2013. I am testing a security method to warn users when external emails are received. This is I am doing by putting "EXTERNAL" text in front of subject-line of incoming emails except if the email-subject already has the text. This is working fine.
Now, what I am trying to do is to remove the text "EXTERNAL" when user will reply to the email. I am having a hard time getting a way to achieve it. Exchange rules, so far I have looked into, does not have anything to remove from subject-line, only to prepend.
How can I do it? My goal is to flag incoming external emails and show it users Outlook client in a way so users would see. I want to use Exchange server built-in functionalities, or from Outlook if the settings can be managed by group-policy and users wont be able to change it.
Thanks and appreciate your help.
I do not know the answer but my search for a way to strip "[External]" and "[EXT]" from the subject line of all incoming emails is what brought me here. It seems IT in so many companies has decided this is a great idea and I just want to share my thoughts that it is a HORRIBLE idea and I wish everyone would stop doing it. You can no longer group all emails by subject line and bring everything together, which is seriously inefficient. There HAS to be a better way to teach your employees to not click on spam/scam links than messing with the existing subject lines. This may be my pet peeve of the century.

How to get contact's "FreeBusyStatus" in Microsoft Outlook using REST Api?

See above mentioned image, it gives different status but don't know how to get it.
Check Outlook API.
Thanks in advance :-)
You can use GET https://outlook.office.com/api/v2.0/me/events/{event_id}?$select=ShowAs to retrieve the FreeBusyStatus of attendee(yourself) for a particular meeting, the return type is something like below,
If you want to check the response from a particular attendee, use GET https://outlook.office.com/api/v2.0/me/events/{event_id}?$select=ShowAs,Attendees, and check on the "Response" from the "Status" response.
This enumeration is used for 'Specifies the availability status of an attendee for a meeting.' At present, the Office 365 REST API is not able to retrieve the contacts' meetings status. And you can submit the feedback from here if you want to the Office 365 REST to support this feature.
We are able to add other’s users’ calendar manually, then we could see the status of the appoint/meet of him/her. Here is an figure that show the others calendar for your reference:
If you want to retrieve the free/busy information of EWS is a possible workaround. Please refer to here for more detail. And if you require these information to schedule a meeting, you can try to use the Find meeting times (preview).

Resources