EmailService Class

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

Constructors

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

Methods

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