Addr821 (NotesName - JavaScript)

Read-only. IP address in the format based on RFC 821 Address Format Syntax.

Defined in

NotesName

Syntax

getAddr821() : string

Usage

The RFC 821 address is a name followed by an at sign followed by an organization, for example, jbgoode@acme.us.com. In an RFC 822 address, it is the part enclosed in pointed brackets.

This property returns an empty string if the name does not contain an RFC 821 IP address.

Examples

This computed field returns jbgoode@us.acme.com.
var nam:NotesName = session.createName(
	"\"John B Goode\" <jbgoode@us.acme.com> (Guitars) (Music) (East)");
return nam.getAddr821();