exchange-server


Identify bounced EmailMessage (EWS)


Is there a way to accurately identity bounced back email notifications in a mailbox using EWS? So far I`ve looked at the message headers and nothing seems to indicate that the message is an email bounce notification.
I also looked at the Item and the EmailMessage members and haven't found anything useful (I may have missed something).
I could always parse the sender which always says 'Email Delivery System' or the subject line or even the message body, but I'm looking for a cleaner way to do that.
Try the ItemClass property.
This corresponds to PR_MESSAGE_CLASS MAPI property. This link provides some values for this property. You can find there a list of message classes for different types of messages. Some of them are for Non-Delivery reports, which I think is what you want.
It seems that if this property value starts with "REPORT.IPM" and ends with ".NDR" then its a Non-delivery report.

Related Links

EWS Edit Attachments in a Forward Email
Exchange web services API - Get all mailboxes
exchange server: how to check database of specific mailbox through exchange shell
Implementing Provision on Exchange ActiveSync client
How to Capture Meeting-Created Event in MS Exchange 2013
KQL Syntax using a variable - Exchange 2013
Detecting calendar-event mail items in Office365 REST Mail API
Exchange Server - Get CASMailbox - Parameters
Accessing all email on Exchange Server
Adding a user to a specific GAL in a multitenant exchange environment
EWS appointment time intervals
Facing issue in setting follow up for email
Get Complete User List in Microsoft Exchange
Exchange Managed API: Get Resources List of an appointment
Why exchange server return different serverIds in MoveItems and Sync
Integrating Exchange with website

Categories

HOME
cocoapods
extjs
tomcat
activex
theano
iverilog
consul
twitter-fabric
cypher
gentelella
clone
pyresttest
tweepy
kurento
mutation-testing
fireloop
parsley.js
bootstrap-switch
android-externalstorage
spring-amqp
jquery-select2-4
complexity-theory
asp.net-core-1.0
async-await
google-tasks-api
nest-api
android-5.1.1-lollipop
uima
robolectric
salt-cloud
psql
unity-container
uislider
amazon-sns
cell
multi-dimensional-scaling
openbravo
points
python-imageio
spring-annotations
ninject
tsung
mdns
dotcms
objectmapper
epplus
android-collapsingtoolbar
cups
textmate2
testlink
runtimeexception
jslint
gitolite
google-now
swfupload
suds
plane
newtons-method
oauth2-playground
vb.net-to-c#
dagger
ssi
image-registration
nothing
node-apn
embedded-v8
skip-lists
palindrome
alertify
jsonix
livereload
dpkg
groovyfx
maximize
vaadin4spring
swiffy
textpattern
godeps
msgpack
360-degrees
explain
artisan
ipod
famo.us
rubber
ildasm
xhprof
box2dweb
treeline
facebook-game-groups
jmenubar
pbkdf2
insertonsubmit
jquery-transit
apportable
.net-remoting
mongo-jackson-mapper
contextswitchdeadlock
office-app
email-verification
xcode4.5
flymake
wcf-callbacks
n-queens
sigar
3des
ccnet-config
reliability
tabbarcontroller
self-tracking-entities
datagridcolumn
watchpoint
isapi-redirect
remote-working

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App