InternetAddress.opEquals

bool opEquals(Object o) const

Provides support for comparing equality with another InternetAddress of the same type.

Returns

true if the InternetAddresses share the same address and

port number.