T- the return type of what gets created (usually a
@Role public interface MimeMessageFactory<T>
MimeMessage. This allows Component implementers the ability to create and pre-fill one or several
MimeMessageobjects according to some algorithm. For example a Template Mime Message Factory could compute the subject and its content from an XObject in a wiki page. And a Group Mime Message Factory could generate an Iterator of MimeMessage, which itself would generate one MimeMessage per user in the Group.
source- the source from which to prefill the Mime Message(s) (depends on the implementation)
parameters- an optional generic list of parameters. The supported parameters depend on the implementation
MimeMessage(s) that can then be further modified by the user
javax.mail.MessagingException- in case of an error while creating the
Copyright © 2004–2022 XWiki. All rights reserved.