为什么在发送密码重置邮件后超链接在 gmail 中没有 showing/working?
why hyperlink is not showing/working in gmail after sending password reset mail?
我正在从服务器发送 email
用于密码重置。出于测试目的,我发送到 gmail
和 yahoo mail
。 gmail
和 yahoo mail
的邮件投递,但 return link
是 gmail
的 missing
,yahoo
显示 garbage
<a>
标签。
我正在发送
Click here to change your password <a href="localhost:4778/ResetRequest?id=25fafb03-9715-4003-80bf-e362259afa77">please click this link</a>
在 gmail 中显示
需要帮助。
问题:
URL您提供的不正确,它表明 localhost 是一个文件夹,但您提供的是端口号。
您缺少协议 (http / https):
<a href="http://localhost:4778/ResetRequest?id=25fafb03-9715-4003-80bf-e362259afa77">
您需要在 href 值中使用 http 协议。否则 gmail 不会将其视为有效 link
<a href="http://localhost:4778/">Some link</a>
我正在从服务器发送 email
用于密码重置。出于测试目的,我发送到 gmail
和 yahoo mail
。 gmail
和 yahoo mail
的邮件投递,但 return link
是 gmail
的 missing
,yahoo
显示 garbage
<a>
标签。
我正在发送
Click here to change your password <a href="localhost:4778/ResetRequest?id=25fafb03-9715-4003-80bf-e362259afa77">please click this link</a>
在 gmail 中显示
需要帮助。
问题:
URL您提供的不正确,它表明 localhost 是一个文件夹,但您提供的是端口号。
您缺少协议 (http / https):
<a href="http://localhost:4778/ResetRequest?id=25fafb03-9715-4003-80bf-e362259afa77">
您需要在 href 值中使用 http 协议。否则 gmail 不会将其视为有效 link
<a href="http://localhost:4778/">Some link</a>