<!-- from example4.jsp -->
<!-- create the email node -->
<mm:createnode id="mail1" type="email">
<mm:setfield name="from">[EMAIL PROTECTED]</mm:setfield>
<mm:setfield name="subject">test mmbase email</mm:setfield>
<mm:setfield name="body">Tralala</mm:setfield>
</mm:createnode>


<mm:node id="group1" number="groups.testgroep" />

<mm:createrelation source="mail1" destination="group1" role="related" />


<!-- start the mailer but return directly (background mailing) -->
<mm:node referid="mail1">
<mm:field name="startmail(oneshot)" />
</mm:node>


Cant this be done by using a transaction? AFAIK this would not break backwards compatibility of running systems

Reply via email to