to_string


Description:

[ CCode ( cname = "internet_address_list_to_string" ) ]
public string? to_string (FormatOptions? options, bool encode)

Allocates a string buffer containing the rfc822 formatted addresses in this.

Parameters:

this

list of internet addresses

options

a FormatOptions or null

encode

true if the address should be rfc2047 encoded

Returns:

a string containing the list of addresses in rfc822 format or null if no addresses are contained in the list.