I am sending bulk emails with the help of pandas library, There is a problem which I am facing, I want to parse the body text as HTML as there are some HTML tags which I want to use. Following is the code for the same.
    message = """\
Dear Student,
    Following are your login details,
            Email     {0}
            Password  {1}
    You may log in via URL mail.sample.com
    Do not copy/paste the password.
Regards,
Admin
        """.format(student_email,student_password)
    full_email = ("From: {0} <{1}>\n"
                  "To: {2}\n"
                  "Subject: {3}\n\n"
                  "{4}"
                  .format(self_name, self_email, email, subject, message))
I couldn't find any other code with having the same library which I am using currently and if possible I would like to use only these libraries i.e. pandas and smtplib.
Apologies if the redundant question
TL;DR I want to parse text to HTML while sending the email
The problem is if I append tags in message variable it will literally show tags instead of parsing. For ex:
 <b>Email : </b>[email protected]