Class MailSenderPipe

All Implemented Interfaces:
HasSender, HasTransactionAttribute, IConfigurable, IConfigurationAware, IForwardTarget, INamedObject, IPipe, IScopeProvider, IWithParameters, EventThrowing, HasStatistics, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class MailSenderPipe extends MessageSendingPipe
Pipe that sends a mail-message using a MailSender as its sender.
Sample email.xml:
        <email>
            <recipients>
                <recipient>***@natned</recipient>
                <recipient>***@nn.nl</recipient>
            </recipients>
            <from>***@nn.nl</from>
            <subject>this is the subject</subject>
            <message>dit is de message</message>
        </email>
 

Notice: it must be valid XML. Therefore, especially the message element must be plain text or be wrapped as CDATA.

example:
 <message><![CDATA[<h1>This is a HtmlMessage</h1>]]></message>
 

Author:
Johan Verrips
  • Constructor Details

    • MailSenderPipe

      public MailSenderPipe()