Answers.Body: <p>It might be because you have syntax error in your smarty code. Try not to use editor if you want to use smarty code or use <a href="https://civicrm.stackexchange.com/questions/22082/how-to-deal-with-or-39-in-ckeditor/22618#22618">this</a> configuration to use smarty using ck-editor </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-15T11:37:02.613Z
Answers.Text: thanks so much Pradeep! This was the last parameter to set. I will add the link to your message inside my other message about how to set the smarty variables.
Answers.UserDisplayName: Guillaume Sorel
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-14T15:51:56.607Z
Answers.LastActivityDate: 2019-08-14T15:51:56.607Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I am testing some templates with smarty and I don't succeed to send them when the email is - apparently - encoded in html. 
  I could send them as normal text message. I could also send html templates that I have. But I can't send messages using <strong>both</strong> HTML template <strong>and</strong> Smarty.</p>
  
  <p>I am sending from within Civicrm and it runs endlessly, when other types of messages are immediately sent (and well received).</p>
  
  <p>Is this due to a limitation, a bug or should I set some parameters somewhere?</p>
  
Tags: <smarty>
Title: Issue with sending html email from civicrm with Smarty
ThreadText: # Issue with sending html email from civicrm with Smarty
  
  (Asked by: username_0 on 2019-08-14)
  
  I am testing some templates with smarty and I don't succeed to send them when the email is - apparently - encoded in html.
  I could send them as normal text message. I could also send html templates that I have. But I can't send messages using **both** HTML template **and** Smarty.
  
  I am sending from within Civicrm and it runs endlessly, when other types of messages are immediately sent (and well received).
  
  Is this due to a limitation, a bug or should I set some parameters somewhere?
  
  **Tags:** smarty
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-08-14. Score: 2 | Accepted answer
  
  It might be because you have syntax error in your smarty code. Try not to use editor if you want to use smarty code or use [this](https://civicrm.stackexchange.com/questions/22082/how-to-deal-with-or-39-in-ckeditor/22618#22618) configuration to use smarty using ck-editor
  
  > **Comments:**
  > **username_0**: thanks so much username_1! This was the last parameter to set. I will add the link to your message inside my other message about how to set the smarty variables.  
  
  ---
  
  