首页 > 解决方案 > 如何将 Godaddy 服务器中的图像链接到我的 html 电子邮件正文

问题描述

我目前正在尝试为我的 ASP.net 应用程序设置一个 html 电子邮件模板。电子邮件部分正在工作,但我在模板中的图片链接没有。以下是电子邮件模板的正文。我确信这是 Godaddy 服务器的问题,它不允许公开共享图像。

    <body>
  <div class="container">
    <div class="row">
      <div class="col-sm-2">
      </div>
      <div class="col-sm-8">
        <img src="www.mocking.com/Images/Public/welcome.jpg" width="100%" alt="">
        <br>
        <br>
        <div class="text-center">
          <h1>Welcome to Mocking.com</h1>
          <br>
        </div>
          <i>Please click on "Confirm Activation"</i>

        <p > Some Text Some text Some Text  Some Text #@PARAM1 text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  </p>

        <div class="cls_btn">Activate User</div>

        <div > Some Text Some text Some #@PARAM2 Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text  Some Text Some text Some Text <span class="cls_link">Mocking.com </div>
      </div>
      <div class="col-sm-2">
      </div>
    </div>

</body>
</html>

有人可以帮我如何设置公共图像,以便电子邮件链接正常工作吗?

这是我在 Godaddy 的图像文件夹设置。

在此处输入图像描述

谢谢, PG

此处设置了文件权限,但没有具体内容。一切都已阅读。

在此处输入图像描述

完整的文件夹结构 在此处输入图像描述

标签: htmlemail

解决方案


推荐阅读