The `raw_html` parameter is not recognized in the email QueueBuilder API.
The issue involves a compatibility problem in the email QueueBuilder API where the `raw_html` parameter is not recognized. This appears to be a straightforward bug fix requiring updates to the API to accept the parameter. No major blockers are evident, but understanding the email stack's context is necessary.
New sendmail API has been pulled into latest frappe, but the rest of the email stack is not compatible.
For example the raw_html parameter is not recognised
Output of bench version
Frappe Framework: v15.103.0
Error below
Allowed
File "apps/frappe/frappe/email/__init__.py", line 210, in sendmail
builder = QueueBuilder(
recipients = '[email protected]'
sender = ''
subject = 'subject'
message = '<!DOCTYPE html>\n<html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml">\n<head>\n<title></title>\n<!--[if !mso]><!-->\n<meta content="IE=edge" http-equiv="X-UA-Compatible"/>\n<!--<![endif]-->\n<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>\n<meta content="width=device-width, initial-scale=1" name="viewport"/>\n<style type="text/css">\n #outlook a {\n padding: 0;\n }\n\n body {\n margin: 0;\n padding: 0;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n }\n\n table,\n td {\n border-collapse: collapse;\n mso-table-lspace: 0pt;\n mso-table-rspace: 0pt;\n }\n\n img {\n border: 0;\n height: auto;\n line-height: 100%;\n outline: none;\n text-decoration: none;\n -ms-interpolation-mode: bicubic;\n }\n\n p {\n display: block;\n margin: 13px 0;\n }\n </style>\n<!--[if...
as_markdown = False
delayed = True
unsubscribe_method = None
unsubscribe_params = None
unsubscribe_message = None
add_unsubscribe_link = 1
attach
Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!