to_new_string


Description:

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

Allocates a string containing the contents of the InternetAddress object.

Parameters:

this

Internet Address object

options

a FormatOptions or null

encode

true if the address should be rfc2047 encoded

Returns:

the InternetAddress object as an allocated string in rfc822 format.