Interface CSREmailOrderCmd

  • All Superinterfaces:
    AccCommand,,,, ControllerCommand, ECCommand, Protectable,,, ToolsControllerCommand
    All Known Implementing Classes:

    public interface CSREmailOrderCmd
    extends ToolsControllerCommand
    Composes and sends an OrderReceived message with the supplied recipient, sender and subject.


    • Composes an OrderReceived message for an order specified by orderId
    • Sends the message to the recipient specified by recipient
    • If sender, subject, CC and BCC are provided, they will be used to configure the email.


    This is an input XML string that contains all required data for sending the message type.
     Example xml_string:
            <?xml version="1.0" encoding "UTF-8">
                    <sender>James Woo</sender>
                    <subject>Order summary report</subject>
                    <CC>  </CC>
                    <BCC>  </BCC>
                    <sender>  </sender>
                    <XMLFile>xml file name</XMLFile>

    Exception Conditions

    • Throws ECApplication if the email can not be composed and sent.

    Error View:

    • Returns to the view specified by the URL element in the xml_string.