1,JUnit测试时 在发送的文本中写入测试链接
<html>
<body>
<a href='www.baidu.com'>链接</a>
</body>
</html>
收到的邮件在本地测试可以直接点击链接,但是发送给别人则url显示错误。
需将url改为
<html>
<body>
<a href='http://www.baidu.com'>链接</a>
</body>
</html>
则显示正确。
疑问:为什么本地可以点击链接,而别人不可以?