Есть ли способ включить параметр i html часть mandrill?
Я не использую шаблон.
вот мой код.
$mandrill = new Mandrill('YOUR_API_KEY');
$message = array(
'html' => '<p>here is my email</p>',
'text' => 'Example text content',
'subject' => 'example subject',
'from_email' => '[email protected]',
'from_name' => 'Example Name',
'to' => array(
array(
'email' => '[email protected]',
'name' => 'Recipient Name',
'type' => 'to'
),
array(
'email' => '[email protected]',
'name' => 'Recipient Name',
'type' => 'to'
)
),
Что я хочу сделать, так это добавить параметр к содержимому html.
'html' => '<p>here is my email{ param}</p>', // this line
Как я могу это сделать ?
Спасибо