Here a full working API call based on default template:
<?xml version='1.0'?>
<SOAP-ENV:Envelope xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:ns='urn:xtk:queryDef' xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'><SOAP-ENV:Body>
<urn:SubmitDelivery xmlns='urn:nms:delivery' SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>
<urn:__sessiontoken xsi:type='xsd:string'></urn:__sessiontoken>
<urn:strScenarioName>mail</urn:strScenarioName>
<urn:elemContent>
<delivery xtkschema="nms:delivery">
<scheduling validationMode="auto" />
<targets >
<deliveryTarget>
<targetPart>
<where filteringSchema="nms:recipient">
<condition expr="@email = 'recipient@domain.com'"/>
</where>
</targetPart>
</deliveryTarget>
</targets >
<content>
<html><source>
<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
</HEAD>
<BODY>foobar</BODY></HTML>
]]></source>
</html>
</content>
<mailParameters mirrorPagePolicy="default" needMirrorPage="0" useDefaultErrorAddress="true">
<subject><![CDATA[Hello world]]></subject>
<senderName><![CDATA[]]></senderName>
<senderAddress><![CDATA[no-reply@domain.com]]></senderAddress>
<replyAddress><![CDATA[no-reply@domain.com]]></replyAddress>
<replyName><![CDATA[]]></replyName>
</mailParameters>
</delivery>
</urn:elemContent>
</urn:SubmitDelivery>
</SP-ENV:Body></SOAP-ENV:Envelope>
This API call send an email to an existing recipient (based on email filtering condition - line 13)
I've also forced to automatic validation do directly start the delivery (not just the analysis) - see line 8
Line 28, i set the subject and following lines, i have added some mandatory field such as the sender & reply addresses
If you have any error, please check in UI to see what is the error.
Damien senderAddress