confirm_links = 'To confirm this order http://mywebsite.com '
deny_links = '\nTo deny this order http://mywebsite.com
email=EmailMessage('title_text', confirm_links+deny_links, to=['[email protected]'])
email.send()
signals.post_save.connect(send_email_on_new_order, sender= PurchaseOrder, dispatch_uid = 'send_email_on_new_order')
我的程序發送一個鏈接,在那裏他們可以單擊這兩條鏈路確認或否認他們的訂單用戶的電子郵件程序。我想使它在哪裏,他們沒有看到行http://mywebsite.com,而只是看到「訂單」超鏈接,其中去http://mywebsite.com製作發送該超鏈接在Django文本
你不知道如何做一個HTML鏈接? ... –
我試過 but it was not working in gmail. Somehow HTML needs to be enabled, I guess. I'm still very new to HTML. I apologize. – Mdjon26
A correction link tag is 'blabla' –