Uses of Class
ch.astorm.smtp4j.SmtpServerBuilder
Packages that use SmtpServerBuilder
-
Uses of SmtpServerBuilder in ch.astorm.smtp4j
Methods in ch.astorm.smtp4j that return SmtpServerBuilderModifier and TypeMethodDescriptionSmtpServerBuilder.withListener(SmtpServerListener listener) Adds the specifiedlisteneronce de server is build.SmtpServerBuilder.withMessageHandler(SmtpMessageHandler messageHandler) Defines theSmtpMessageHandlerto be applied for the received messages.SmtpServerBuilder.withPort(int port) Defines the port on which theSmtpServerwill listen to.SmtpServerBuilder.withThreadFactory(ThreadFactory threadFactory) Defines theThreadFactoryto use to handle the SMTP messages.