Class IncaMail
java.lang.Object
ch.tocco.nice2.messaging.mail.spi.AbstractBaseMail
ch.tocco.nice2.messaging.mail.spi.AbstractOutgoingMail
ch.tocco.nice2.optional.incamail.impl.IncaMail
-
Nested Class Summary
Nested classes/interfaces inherited from interface Mail
Mail.MailListener -
Field Summary
Fields inherited from class AbstractOutgoingMail
attributes, charset, contactCategory, encodeFileNames, expiryDate, listeners, mailArchive, mailSendThrottle, nice2Template, persistenceService, preventFromArchive, processor, recipientEntity, relatedEntity, sender, singleCopyMail, sourceEntities, sourceEntity, taskUuid, templateAttributes, templateEngine, templateEntityFields inherited from class AbstractBaseMail
attachments, bcc, cc, from, html, log, replyTo, subject, text, toFields inherited from interface BaseMail
NO_SUBJECT -
Constructor Summary
ConstructorsConstructorDescriptionIncaMail(org.slf4j.Logger log, SecurityManager securityManager, PersistenceService persistenceService, TemplateEngineFactory templateEngineFactory, MailArchive mailArchive, MessageProcessor processor, MailSendThrottle mailSendThrottle, String subject, Boolean encodeFileNames, IncaMailRestClientFactory restClientFactory, boolean devMode) -
Method Summary
Methods inherited from class AbstractOutgoingMail
addBcc, addBcc, addBcc, addCc, addCc, addCc, addMailListener, addSourceEntity, addTo, addTo, addTo, checkRecipientAndContent, clone, getAttributes, getCharset, getContactCategory, getExpiryDate, getRecipientEntity, getRelatedEntity, getSender, getSourceEntity, getTaskUuid, getTemplateAttribute, getTemplateAttributes, getTemplateEntity, hasNoRecipients, isSingleCopyMail, preventFromArchive, processTemplate, processTemplate, processTemplateWithHtmlEscape, removeMailListener, sendAndGetArchive, setCharset, setContactCategory, setExpiryDate, setFrom, setRecipientEntity, setRelatedEntity, setSender, setSingleCopyMail, setSourceEntity, setTaskUuid, setTemplateAttribute, setTemplateEntity, setTemplateEntityData, setTemplateEntityListDataMethods inherited from class AbstractBaseMail
addAttachment, addBcc, addBcc, addCc, addCc, addReplyTo, addReplyTo, addReplyTo, addTo, addTo, addTo, clearAttachments, clearBcc, clearCc, clearReplyTo, clearTo, containsAttachment, createAttachment, createAttachment, createAttachment, getAttachments, getBcc, getCc, getFrom, getHtml, getReplyTo, getSubject, getText, getTo, isBodyEmpty, mergeWithExistingHtml, removeAttachment, setBcc, setCc, setFrom, setHtml, setReplyTo, setSubject, setText, setTo, toStringMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface BaseMail
addAttachment, addBcc, addBcc, addCc, addCc, addReplyTo, addReplyTo, addReplyTo, addTo, addTo, addTo, clearAttachments, clearBcc, clearCc, clearReplyTo, clearTo, createAttachment, createAttachment, createAttachment, getAttachments, getBcc, getCc, getFrom, getHtml, getReplyTo, getSubject, getText, getTo, isBodyEmpty, setFrom, setHtml, setSubject, setTextMethods inherited from interface Mail
containsAttachment, removeAttachment, send
-
Constructor Details
-
IncaMail
public IncaMail(org.slf4j.Logger log, SecurityManager securityManager, PersistenceService persistenceService, TemplateEngineFactory templateEngineFactory, MailArchive mailArchive, MessageProcessor processor, MailSendThrottle mailSendThrottle, String subject, Boolean encodeFileNames, IncaMailRestClientFactory restClientFactory, boolean devMode)
-
-
Method Details
-
getBody
- Throws:
MailException
-
getMimeMessageHeaders
-
getMimeMessageFrom
-
doSend
- Specified by:
doSendin classAbstractOutgoingMail- Throws:
MailException
-