1

I would like to make "click here" a hyperlink which when clicked, would send people to 127.0.0.1 for example.

 confirm_links = 'To confirm this order <a href= "127.0.0.1://confirmorder/" > click here </a> '

I think this would normally work, but I am having the code be sent through email.

Mdjon26
  • 2,145
  • 4
  • 19
  • 29

1 Answers1

-1
from django.core.mail import send_mail

send_mail('Subject here', 'Here is the message.', 'from@example.com',
    ['to@example.com'], fail_silently=False)

or

Do you want something like this?

<a href="mailto:someone@example.com?Subject=Hello%20again" target="_top">
thumbtackthief
  • 6,093
  • 10
  • 41
  • 87