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
arivu96
(Arivazhagan A)
February 9, 2018, 5:41am
2
Hi @prathamesh.c
prathamesh.c:
thanx
Refer the below xaml File To Read the Mail Information
ReadOutlookSample.xaml (7.2 KB)
Convert.ToString(item.From.Address)
ddpadil
(Dilip)
February 9, 2018, 6:20am
3
Hey there,
Use item.From.Address.ToString instead of item.Sender.Tostring
rtallapudi
(Rama Satyanarayana Tallapudi)
March 3, 2018, 6:57pm
4
We can use the below property to get the sender name, it has worked for me.
item.From.DisplayName
lucky121
(Lakshma Reddy)
August 7, 2018, 9:18am
5
IT IS NOT ALL WORKING !!! PLEASE GIVE SOLUTION TO ‘HOW TO GET THE SENDER’S ADDRESS IN OUTLOOK’
1 Like
Hello Lucky121,
I have the same problem ?
Did you solve it ?
Best regards,
David
Sahil_Garg
(Sahil Garg)
September 22, 2020, 1:08pm
7
Hi David,
Use
mail.From.DisplayName
It will work fine.
Cheers
Has anyone been able to resolve this? @Sahil_Garg @david.wouters @lucky121 @prathamesh.c We’re getting “null” for the Sender however everything else works.
I’ve tried all the approaches in the various posts I found about this and no luck.
Interestingly, it only seems to happen to certain emails and we haven’t been able to find a pattern yet to work with.