format_address


Description:

public static string format_address (string name, string addr)

Function to format a single address, suitable for display.

Parameters:

name

a name, quotes may be stripped from it

addr

an rfc822 routing address

Returns:

a nicely formatted string containing the rfc822 address