Notes : Addr821 in NotesName class

79 Views Asked by At

Addr821 in NotesName class returns empty string if the notes mail address does not contain @Domain at the end of the address. However it does not work if @Domain exists. How can I judge the Mail address if it is a Notes mail or an E-mail address?

2

There are 2 best solutions below

1
On
2
On

The purpose of the Addr821 method in the NotesName class is to take any email address that looks like this:

"Richard's Fake Address" <[email protected]> 

And return this:

[email protected]

It is not designed to distinguish between valid Notes addresses and valid RFC821 addresses. It's technically possible, in fact, for the same string to be both a valid Notes address and a valid RFC821 address.