SmtpMailProperties
A class wrapping the SMTP Properties.
getFrom
Get the from property.
getHost
Return the host.
getPassword
Get the password
getPort
Get the port number.
getProperties
Get the properties data structure.
getProperty
Get the value of the key.
String
getUsername
Get the default username
setFrom
Set the from property. If no from is set, uses msg.getFrom() or InternetAddress.getLocalAddress().
setHost
Set the default host to connect to.
setPassword
Set the password for servers needing authentication
setPort
Set the port number. Defaults to 25.
setProperty
Add the key/value pair to trhe property structure.
setUsername
Set the default username to be used