EmailService Class

Used to represent all of the information required to connect to an SMTP email server.

Constructors

EmailService( String host, int port, String username, String password )

Public Methods

setHost( String host, int port ) returns void
Used to set the hostname and port of the server
setHost( String host ) returns void
Used to set the hostname or IP address of the server
getHost( ) returns String
Returns the hostname or IP address of the server
setPort( int port ) returns void
getPort( ) returns Integer
createEmail( ) returns EmailMessage
getSession( ) returns Session