On 23/01/2020 11:40 am, sum abiut wrote:
Hi,
How do I create a hyperlink on the body of the email so that when the user receives the email they can click the link to access the website?

Just include the URL in the body text. You can rely on the mail client to recognise a web address and make it clickable or if not you can rely on the recipient copy/pasting the URL into a browser.

Most people will never click an unsolicited link in an email so you are better to not hide the URL behind a "click here".

YMMV


For example, on the
send_mail( subject, click here to access the site, to_address)

cheers,

--
You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPCf-y4HSiFHUwn-Z8U%2BWDf33i0T%2BaUkNCzRiYH-HLdfUcT%3DpQ%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAPCf-y4HSiFHUwn-Z8U%2BWDf33i0T%2BaUkNCzRiYH-HLdfUcT%3DpQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/411c6b55-0fee-6d57-dbb7-154f0fd584c8%40dewhirst.com.au.

Reply via email to