Class AbstractMailProvider
java.lang.Object
ch.tocco.nice2.messaging.mail.spi.AbstractMailProvider
- All Implemented Interfaces:
MailProvider
- Direct Known Subclasses:
DefaultMailProvider
,IncaMailProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.messaging.mail.api.MailProvider
MailProvider.SenderMode
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected final org.slf4j.Logger
protected final MailArchive
protected final MailSendThrottle
protected final MessageProcessor
protected final PersistenceService
protected final TemplateEngineFactory
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractMailProvider
(org.slf4j.Logger logger, PersistenceService persistenceService, TemplateEngineFactory templateEngineFactory, MailArchive mailArchive) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setEmailEncodeAttachmentFileNames
(Boolean emailEncodeAttachmentFileNames) void
setMessageProcessors
(List<MessageProcessor> processors) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.messaging.mail.api.MailProvider
getAllowedSenderAddresses, getId, getSenderMode, instantiateMail
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
persistenceService
-
templateEngineFactory
-
mailArchive
-
mailSendThrottle
-
emailEncodeAttachmentFileNames
protected boolean emailEncodeAttachmentFileNames -
messageProcessorMultiplexer
-
-
Constructor Details
-
AbstractMailProvider
protected AbstractMailProvider(org.slf4j.Logger logger, PersistenceService persistenceService, TemplateEngineFactory templateEngineFactory, MailArchive mailArchive)
-
-
Method Details
-
setEmailEncodeAttachmentFileNames
@Value("${email.encodeAttachmentFileNames}") public void setEmailEncodeAttachmentFileNames(Boolean emailEncodeAttachmentFileNames) -
setMessageProcessors
-