html_content = """<p>Your account has been created on OpenCloud. Please log in <a href="""+userUrl+""">here</a> to activate your account<br><br>Username: """+self.email+"""<br>Temporary Password: """+password+"""<br>Please change your password once you successully login into the site.</p>"""\r
msg = EmailMultiAlternatives(subject,text_content, from_email, [to])\r
msg.attach_alternative(html_content, "text/html")\r
html_content = """<p>Your account has been created on OpenCloud. Please log in <a href="""+userUrl+""">here</a> to activate your account<br><br>Username: """+self.email+"""<br>Temporary Password: """+password+"""<br>Please change your password once you successully login into the site.</p>"""\r
msg = EmailMultiAlternatives(subject,text_content, from_email, [to])\r
msg.attach_alternative(html_content, "text/html")\r