Package ch.astorm.smtp4j.protocol
Interface SmtpTransactionHandler
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DefaultSmtpTransactionHandler
Handler of SMTP transactions.
- See Also:
-
Method Summary
Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
execute
Proceeds the SMTP transaction with the givensocket. Once this method returns, both thesocketand the handler will be closed.- Parameters:
socket- The socket.- Throws:
IOExceptionSmtpProtocolException
-