Feb-03-2023, 12:02 AM
Hi
When I try to include strings(Htitle1) inside some HTML that I want to send in an email, I get this error: TypeError: set_text_content() got multiple values for argument subtype.
The HTML is something I want to include in an email, for example:
email.set_content('<h2 "style ="font-weight:normal;font-size:14px">',Htitle1,'</h2>',subtype='html')
How do I fix this?
thanks
When I try to include strings(Htitle1) inside some HTML that I want to send in an email, I get this error: TypeError: set_text_content() got multiple values for argument subtype.
The HTML is something I want to include in an email, for example:
email.set_content('<h2 "style ="font-weight:normal;font-size:14px">',Htitle1,'</h2>',subtype='html')
How do I fix this?
thanks