railo.runtime.net.mail
Class EmailNamePair
java.lang.Object
railo.runtime.net.mail.EmailNamePair
public final class EmailNamePair
- extends Object
represent a email name pair
toInternetAddress
public static javax.mail.internet.InternetAddress toInternetAddress(Object emails)
throws MailException,
javax.mail.internet.AddressException,
UnsupportedEncodingException,
PageException
- Throws:
MailException
javax.mail.internet.AddressException
UnsupportedEncodingException
PageException
toInternetAddresses
public static javax.mail.internet.InternetAddress[] toInternetAddresses(Object emails)
throws MailException,
javax.mail.internet.AddressException,
UnsupportedEncodingException,
PageException
- Throws:
MailException
javax.mail.internet.AddressException
UnsupportedEncodingException
PageException
hasName
public boolean hasName()
- Returns:
- return if in the email name pair also a name is defined
getName
public String getName()
- Returns:
- returns the name
getEmail
public String getEmail()
- Returns:
- returns the email
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2012 Railo