InternetAddressList.indexOf

Gets the index of the specified #InternetAddress inside the #InternetAddressList.

class InternetAddressList
int
indexOf

Parameters

ia gmime.internet_address.InternetAddress

a #InternetAddress

Return Value

Type: int

the index of the requested #InternetAddress within the #InternetAddressList or %-1 if it is not contained within the #InternetAddressList.