当用户注册我的网站时,我正在尝试向他们发送一封包含确认码的电子邮件。电子邮件发送正常,但是当我输入完整的 URL 时,邮件没有发送
在这里你可以看到我正在使用的代码:
$message = 'You have recieved this email because you have signed up to Amped. To complete the registration process, please
click on the link below. <br/> <a href=confirm.php?code=' . $row['emailcode'] . '>Click here to complete registration</a>'
我需要在 confirm.php 之前输入完整的 url 以使链接正常工作,但是当我这样做时,电子邮件不会发送。有任何想法吗?