如何告诉 sendgrid 停止装饰纯文本 URL?
如果重要的话,使用 Python 的 sendgrid SDK。
sendgrid.SendGridClient(username, pwd)
mail = sendgrid.Mail()
mail.set_html(html_message)
mail.set_text(text_message_with_urls) # <-- urls are here
...
sendgrid_client.send(mail)
Run Code Online (Sandbox Code Playgroud)
对于 HTML 端,这已经有了答案:
仍然需要对邮件的 HTML 部分进行跟踪。