@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") ) ) );
public Smtp(Session session)
session
- Session.public Transport connect() throws IOException
Wire
connect
in interface Wire
IOException
- If failsCopyright © 2012–2017 jcabi.com. All rights reserved.