cancel
Showing results for 
Search instead for 
Did you mean: 

SUPEE-6788 - Empty Emails

SOLVED

SUPEE-6788 - Empty Emails

Hi Guys,

 

Having issues with Sales emails - they come into inbox Empty!

 

I tried creating new email template and tried previewing it - same result!

 

Has anybody dealt with this issue?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: SUPEE-6788 - Empty Emails

Blocks and Variables now have to be registered in a whitelist before they can be used in templates. This causes missing content in everything from CMS pages to emails.

 

APPSEC-1057 (part of SUPEE-6788) states

Magento now includes a whitelist of allowed blocks or directives. If a module or anyone uses variables like {{config path=”web/unsecure/base_url”}} and {{block type=rss/order_new}} in CMS pages or emails, and the directives are not on this list, you will need to add them with your database installation script.

Extensions or custom code that handles content (like blog extensions) might be affected. If your code uses some config variables or blocks, you need to create a data update script that adds variables or blocks to the white list tables:

 

The following posts show how to add items to the whitelist:

 

http://magento.stackexchange.com/questions/88095/magento-1-9-0-1-patch-supee-6788-breaks-custom-them...

http://stackoverflow.com/questions/33433109/applying-supee-6788-it-removes-static-block-on-home-page

View solution in original post

4 REPLIES 4

Re: SUPEE-6788 - Empty Emails

I have flushed refreshed and flushed cache and now the previews work.

 

I'll see if this has resolved the issue with sales emails.

Re: SUPEE-6788 - Empty Emails

Blocks and Variables now have to be registered in a whitelist before they can be used in templates. This causes missing content in everything from CMS pages to emails.

 

APPSEC-1057 (part of SUPEE-6788) states

Magento now includes a whitelist of allowed blocks or directives. If a module or anyone uses variables like {{config path=”web/unsecure/base_url”}} and {{block type=rss/order_new}} in CMS pages or emails, and the directives are not on this list, you will need to add them with your database installation script.

Extensions or custom code that handles content (like blog extensions) might be affected. If your code uses some config variables or blocks, you need to create a data update script that adds variables or blocks to the white list tables:

 

The following posts show how to add items to the whitelist:

 

http://magento.stackexchange.com/questions/88095/magento-1-9-0-1-patch-supee-6788-breaks-custom-them...

http://stackoverflow.com/questions/33433109/applying-supee-6788-it-removes-static-block-on-home-page

Re: SUPEE-6788 - Empty Emails

I tried flushing Magento's cache on my store as well and our e-mails have been fixed as well.  Thanks!

Re: SUPEE-6788 - Empty Emails

Blocks and Variables now have to be registered in a whitelist before they can be used in templates. This causes missing content in everything from CMS pages to emails.

 

This is pretty much the worst idea ever.