Neokernel API

EmailTools.parseEmailAddress Method

This method parses the specified String typically containing the text contents from an email message header (ie: "Bob Smith" <bob@smith.com>) and returns two String components as a Pair. The first element of the Pair is the email name and the second element will contain the email address.

public static Pair parseEmailAddress(
   string email
);

See Also

EmailTools Class | com.neokernel.email Namespace