Hello,

What is a difference in sending a html body from string and from template?

1. When i try to send email with body from string (e.g. '<html>html
body</html>' ) - it is send as expected: *html body*

2. But when I put this string into template and create body with , for
example, *response.render(body.html, dict())* , email looks like


*<html>html body</html>਍ഀ ਍*

The behaviour is similiar to 'escape html' function.

I have to use rendering content from file because of body size

Maybe I'm doing something wrong?

Regards.
Tom

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to