@Immutable @Loggable(value=1) public final class Smtp extends Object implements Wire
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")
)
)
);
| Constructor and Description |
|---|
Smtp(javax.mail.Session session)
Public ctor.
|
public Smtp(javax.mail.Session session)
session - Session.public javax.mail.Transport connect()
throws IOException
Wireconnect in interface WireIOException - If failsCopyright © 2012–2021 jcabi.com. All rights reserved.