the code is:

        web.sendmail(
            '"Ken" <[email protected]>', # from
            '[email protected]', # to
            'subject 2', # subject
            '<hr /><strong>Hello</strong>', # content
            headers = (
                {
                    'Content-Type': 'text/html; charset=utf-8'
                }
            )
        )

it is not ok. and I find the utils.py
message = safestr(message)  # line 1299

How can I send html mail?

-- 
http://t.sina.com.cn/qichangxing
http://t.qq.com/qichangxing
http://simple-is-better.com

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to