I have a html form with <textarea name="message"></textarea>
and I get the value by message = self.request.get('message')
.
Then I do mail api
message = mail.EmailMessage(sender="[email protected]", subject="Testing")
message.to = '[email protected]'
message.html = """The Message: %s """ % (message)
message.send()
The problem is I can only see the "The Message:" in my email without the 'message' value, how do I solve the problem?