Отправка электронной почты с помощью API Mandrill
if({api_type} == 'mandrill' ){
$var_config = array(
'settings' => [
'gateway' => 'mandrill',
'api_key' => {api_key},
'from_email' => {from_email},
'from_name' => {from_name}
],
'message' => [
'html' => {email_body},
'text' => '',
'to' => array($arr_merge),
'subject' => {subject}
]
);
}
sc_send_mail_api($var_config);
Disturbed Dunlin