change mandrill template dynamically using php -
i using mandrill app send emails website. know how send template using mandrill.
i want change template dynamically. don't know how it. on site mentioned use |---| change template dynamically. here aso mentioned how declare global merge vars in json code.
my question how define global merge vars in php code?
probably misunderstood question, here answer: assume using mandrill php library then
require 'mandrill.php'; $mandrill = new mandrill($password); $message = array( 'html' => $html //here can provide html template //receiver , on ); $mandrill->messages->send($message);
Comments
Post a Comment