Not able to find sender name from Outlook mail

email

#1

Hello Team,
i was facing issue while reading mail from outlook , When Try to get value of sender name with (item.from.address) it is showing error NULL reference ,i think it may be happening because of config issue ,But all the rest info working fine like (item.body.Tostring),(item.subject.Tostring)

need some help for this issue
thanx in Advance


#2

Hi @prathamesh.c

Refer the below xaml File To Read the Mail Information
ReadOutlookSample.xaml (7.2 KB)

Convert.ToString(item.From.Address)


Outlook fields extract
#3

Hey there,
Use item.From.Address.ToString instead of item.Sender.Tostring


#4

We can use the below property to get the sender name, it has worked for me.

item.From.DisplayName


#5

IT IS NOT ALL WORKING !!! PLEASE GIVE SOLUTION TO ‘HOW TO GET THE SENDER’S ADDRESS IN OUTLOOK’