Smartsite SXML CopyCode image Copy Code
<se:sendmail>
    <se:parameters>
        <se:parameter name="body">
            <h1>Hi Mickey,</h1>
            Here are the files you asked for.
            
            Kind regards,
            Donald
        </se:parameter>
        <se:parameter name="from">Donald Duck {char.lt()}donald@disney.com{char.gt()}</se:parameter>
        <se:parameter name="subject">Holiday pictures</se:parameter>
        <se:parameter name="to">Mickey Mouse {char.lt()}mickey@disney.com{char.gt()}</se:parameter>
        <se:parameter name="attachments">
            <se:collection>
                <se:member>/picture1.jpg</se:member>
                <se:member deleteaftersend="onsuccess">/picture2.jpg</se:member>
            </se:collection>
        </se:parameter>
    </se:parameters>
</se:sendmail>