I'm trying to send email on my zend app Via mailjet. It works but cannot load the desired template. Code:
 $config = array('ssl' => 'ssl',
                'port' => 465,
                'auth' => 'login',
                'username' => 'mailjet api username',
                'password' => '8mailjet api key');
            $transport = new Zend_Mail_Transport_Smtp('in-v3.mailjet.com', $config);
            $mail = new Zend_Mail();
            $mail->addHeader('X-MJ-TemplateLanguage',true);
            $mail->addHeader('X-MJ-TemplateID','validationV2'); 
          // This is the template I wanna use.(above)
            $mail->setFrom('[email protected]', 'You');
            $mail->addTo('[email protected]', 'Anybody');
            $mail->setSubject('My first email by Mailjet');
            $mail->setBodyHtml('wxxxxxxxxxxxxxxxxxxxxxxxxx');
            $mail->send($transport);
If I could get any help woudl be great!
 
                        
You could try putting the numerical ID of the template in
X-MJ-TemplateID. If it still doesn't work, file a support ticket