Hi guy i think found My problem was caused by file
administrator\components\com_virtuemart\models\orders.php
fn. sent mail line 1678
------
// Send the email
$res = shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars, null,$vars['doVendor'],$this->useDefaultEmailOrderStatus);
if(is_object($res) or !$res){
$string = 'COM_VIRTUEMART_NOTIFY_CUSTOMER_ERR_SEND';
vmdebug('notifyCustomer function shopFunctionsF::renderMail throws JException');
$res = 0;
} //We need this, to prevent that a false alert is thrown.
else if ($res and $res!=-1) {
$string = 'COM_VIRTUEMART_NOTIFY_CUSTOMER_SEND_MSG';
}
if($res!=-1){
vmInfo( vmText::_($string,false).' '.$order['details']['BT']->first_name.' '.$order['details']['BT']->last_name. ', '.$order['details']['BT']->email);
}
//quicknDirty to prevent that an email is sent twice
-----
If I delete command is issued.
There is no error, but there would be no mail delivery as well.
How do I fix this? I recommend it.