@Immutable
public interface Protocol
This is how you're supposed to use it:
Postman postman = new Postman.Default(
new SMTP(
new Token("user", "password").access(
new Protocol.SMTP("bind", "port")
)
)
);
For SMTPS use the Smtps wire and
Protocol.Smtps respectively. SMTPS protocol should work only with
the SMTPS wire because the wire uses the "smtps" transport to make the
connection to the mail server:
final Transport transport = this.session.getTransport("smtps");
transport.connect();
| Modifier and Type | Interface and Description |
|---|---|
static class |
Protocol.Smtp
SNMP protocol.
|
static class |
Protocol.Smtps
SMTPS protocol.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
entries()
Guarantee of access for protocol.
|
Copyright © 2012–2021 jcabi.com. All rights reserved.