How can I make text bold in the email body in python? I am using the following code to send mail :
from django.core.mail import send_mail
send_mail(subject, message, sender, [email], fail_silently=False)
I want to make some important text bold. Using the following code I have received the whole string as a message.
message = " Hi Customer,<br> Your OTP is <b>****</b>"
But it works when I try \n
as <br>
. What can I do to make the text bold?