Package | Description |
---|---|
org.safs.tools.mail |
Modifier and Type | Field and Description |
---|---|
static Mailer.Protocol |
Mailer.DEFAULT_PROTOCOL
|
Modifier and Type | Method and Description |
---|---|
static Mailer.Protocol |
Mailer.Protocol.get(java.lang.String name) |
static Mailer.Protocol |
Mailer.Protocol.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Mailer.Protocol[] |
Mailer.Protocol.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Mailer(java.lang.String host,
int port,
Mailer.Protocol protocol)
Create a Mailer
with host, port and protocol,
without Authentication (no need of user/password)
|
Mailer(java.lang.String host,
int port,
Mailer.Protocol protocol,
java.lang.String user,
java.lang.String password)
Create a Mailer with Authentication (user/password) and host/port/protocol
|
Copyright © SAS Institute. All Rights Reserved.