Message.getAddresses

Gets a list of addresses of the specified type from the message.

Parameters

type gmime.types.AddressType

A #GMimeAddressType

Return Value

Type: gmime.internet_address_list.InternetAddressList

a list of addresses of the specified type from the message.