Seems the problem is GAE expects text to have content, even though it
is not used:
gluon/tools.py:
elif message.strip().startswith('<html') and
message.strip().endswith('</html>'):
text=None
html=message
I have fixed that by setting text=message
On Nov 8, 1:00 am, Richard <[email protected]> wrote:
> When trying to send HTML mail on GAE I get:
>
> >>> mail.send(message='<html>message</html>')
>
> False
> Mail.send failure:May not set empty value for 'body'
>
> >>> mail.send(message=('dummy content', html))
>
> True