$mailTemplate,
$extension,
$eventConfig,
$flow->
getData(OrderAware::ORDER_ID
),
));
$this->
setReplyTo($data,
$eventConfig,
$flow->
getData(FlowMailVariables::CONTACT_FORM_DATA,
[]));
$this->eventDispatcher->
dispatch(new FlowSendMailActionEvent($data,
$mailTemplate,
$flow));
if ($data->
has('templateId'
)) { $this->
updateMailTemplateType( $flow->
getContext(),
$flow,
$flow->
data(),
$mailTemplate );
} $templateData =
[ 'eventName' =>
$flow->
getName(),
...
$flow->
data(),
];