rjohnsondev / java-libpst

A library to read PST files with java, without need for external libraries.
249 stars 122 forks source link

Cant get the mail adrres when sended mail with name not mail addres #91

Open yusuf-sengun opened 3 years ago

yusuf-sengun commented 3 years ago

I have the following data in pst file

,Yusuf Sengun","/O=EXCHANGELABS/OU=EXCHANGE ADMINISTRATIVE GROUP (XXXXXXXXXXXX)/CN=RECIPIENTS/CN=XXXXXXXXXXXXXXXXXXXXXXXXXXX-YUSUF SENGU","EX","xxxxxxx@hotmail.com","xxxxxxx@hotmail.com","SMTP",,,,,,,,"Normal",,,"Normal"

There is no doubt in here I can get the mail address with getDisplpayTo function But when I send mail with a name not the full email address I get the following data

,Yusuf Sengun","/O=EXCHANGELABS/OU=EXCHANGE ADMINISTRATIVE GROUP (XXXXXXXXXXX)/CN=RECIPIENTS/CN=XXXXXXXXXXXXXXXXX-YUSUF SENGU","EX","ֺSample Name ,"xxxxxxx@hotmail.com","SMTP",,,,,,,,"Normal",,,"Normal"

Here there is no way I can get the mail address getDisplayTo function return the Sample Name and other get function return something else I cannot take the mail address here