Outlook Web Add In get Mailbox Folder Name - outlook-addin

I am building an Outlook Web Add-in. When a message is opened I want to check if the message is in the Inbox, Sent Mail etc. and process accordingly. I do not know how to obtain that information, i.e., whether the message is in Inbox, Sent Mail etc. I have attached a snippet of code where I would like to obtain that information.
Office.onReady(function () {
$(document).ready(function () {
// Get if message is in Inbox, Sent Mail etc. here
});
});

Currently the feature you requested, is not a part of the product. We track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered, when we go through our planning process.
As a workaround, get message can be used to obtain the ParentFolderId and then can be passed that onto get folder to retrieve details about the folder, including the name. We have documentation about Outlook Add-Ins and REST API with an example about getting a message using the ItemId.

Related

How the mail notifications are working in Odoo14 for the Leave application, approval/rejection?

While applying, approving/rejecting the leave sometimes the emails are sent from the odoo14 system, but there is no mail template or mail sending functionality found in the leave module. Does anyone know how it's working? Images of the mail are below.
You can find the post message for leave acceptance here and for leave refusing here
The message_post method respect the user's preference. If the user changes the notification option from the user preferences in user form to Handle by Odoo rather than Handle by Emails,the user will not receive emails; instead, they will receive notifications in Odoo's UI.

Identify parent message Id in outlook reply mail mode

i am making a js outlook addin. Here I want to get the parent message id, if user trying to reply mail.
When user opens reply mail in compose mode, i want to extract parent message Id and do some analytics.
How can we achieve this?
You can use EWS for getting the job done. You can navigate through the conversation and find the latest one. See How to: Get conversation items by using the EWS Managed API 2.0 for more information.

Detection job run, no notification emailed

When starting a duplicate detection job, I'm checking notify when done. After the job's finished, no email is received at the address mentioned at the start of the job. I'm logging in using AD and authorization is done the same way as Exchange is using, so I expected the email to work.
I tried to approve the mail recipient (me) when creating the user. To no avail.
What am I missing?
So seems like they are just not being send. You have to either set up email router, server side sync or have outlook with plugin. On user record you have to tell which method do you use. For users with OWA router or server-side would be only options.
Server-side is new in 2013. It can replace email router, so all email processing is done by async service.

Can Outlook Interop API not recognise a DeliveryNotification

Story goes: My user sends an email to their client. My user ticks of "delivery notification" / "read notification". The client responds on the notification. Now my user has a "notification" sitting in their inbox. My application may attach that "email" to a project database, happens with any other regular email.
Now a bug report ticks in (feature request) on my table. My user like to attach those "notifications" to the project in question, but my application does not recognise the notification as an email.
Having recieved this feature/bug request, I start investigating. When I right click the mail in question I'd expect to have the option of attaching the mail to a project. I do with regular emails, but not with the notification email.
First off: Isn't a delivery/ read notification just like any other email. Apparently not as it is not being recognised in the first run.
Second: If it isn't an email, what is it then. Apparently it does not exist. WT'bip'...
I found an enum DeliveryNotificationOptions under System.Net.Mail, but I'm using the Microsoft.Office.Interop.Outlook and the MailItem in there. I found the MailItem.OriginatorDeliveryReportRequested which is what the client's mail application has replied to and sent my user the notification.
I have the Outlook addin both as an Office2007(.Net3.5) and Office2010(.Net4) version, the 2003 has been retired. The way I see this it goes beyond office and .net version concerns.
Any light or pointers people like to share on this matter would be appreciated.
It's called a ReportItem (DeliveryNotification).

Track bounced back newsletter emails

I've built a newsletter system which tracks:
Openings
Link clicks
Unsubscriptions
However, I need to find a way of tracking which newsletter emails 'bounced back'.
Has anyone done this before and whats the best way of doing it?
When sending the mail via SMTP you supply the FROM command which is sometimes referred to as the 'Sender' or 'Envelope Sender'. This is separate from the From: header in the email itself. What you want to do is to create a 'bounced' mailbox and set that as the 'Sender' for the email. If there is a bounce, then most mail servers will send a (NDR) notification back to this sender.
Then you need to periodically check this mailbox for NDR's and parse them for the original recipient and if it was a hard or soft bounce. There are various libraries that can do this for you such as ListNanny