How to edit the template of a node teaser that is sent in a newsletter email? I have a content type for my newsletter, it has an entity reference field that displays the latest articles of my site in a teaser format.

I tried to edit the teaser display in my node.tpl.php like this:

&lt;?php if ($teaser): ?&gt;
    &lt;!-- teaser template HTML here --&gt;
  &lt;?php else: ?&gt;
    &lt;!-- regular node view template HTML here --&gt;
  &lt;?php endif; ?&gt;


in the website all is correct, what i put inside the if, is working but just in the website, but when i send the newsletter, the email arrives with something very different (something like a standard format), could you please tell me were can i edit the way my newsletter send the emails?
I think it would be easiest to change the teaser in the Manage Display tab under the appropriate content type. That will apply everywhere.

However if you have custom theme stuff you want to accomplish you'll have to make sure you're affecting the correct theme. It sounds like the e-mail generator may be using a different theme to send the e-mail?

A simple way to test for this is putting &lt;h1&gt;HELLO&lt;/h1&gt; in a template that you think it's using.