【发布时间】:2017-11-26 21:13:23
【问题描述】:
应该从我端发送的内容的图像。
我已经编写了 HTML 格式的代码,以便在邮件正文中添加一个图像,并通过函数在签名中添加另一个图像。但问题是它在我的结尾完美显示,因为我是电子邮件的发件人,但反映为红十字标记,就像他无法在指定路径找到图像一样。任何人都可以在这里帮助我为什么会发生以及如何纠正它。我附上了我在另一端收到的图像的代码和屏幕截图。
收到错误电子邮件
.HTMLBody = "<font face=""calibri"" style=""font-size:11pt;""> Dear Team," &
"<br> <br>" & _
"<font face=""calibri"" style=""font-size:11pt;""> Please find
the attached sheet for Raw Cell Outage of " & Format$(Date,
"dd-mmm-yyyy") & _
"<br><br>" & _
"<font face=""calibri"" style=""font-size:14pt;""><b> This is based
on Raw Outage without validation at field end.<b> " & _
"<br><br>" & _
***"<img src='C:\Cell Outage Report MACRO\Output Data\AST_img.png'>" &_***
"<br><br>" & _
"<font face=""calibri"" style=""font-size:12pt;""><b><u>Thanks &
Regards,<b><u>" & _
"<br>" & _
"<font face=""calibri"" style=""font-size:15pt;""><b>Team OMC<b>" &_
"<br>" & _
"<font face=""calibri"" style=""font-size:15pt;""><b>B&JH<b>" & _
"<br>" & _
"<font face=""calibri"" style=""font-size:12pt;""><b>Contact No:-
0000000000<b>" & _
"<br>" & _
***"<img src='C:\Cell Outage Report MACRO\Sign_logo.png'>" & _***
[Image of the mail received at the other end][1] .HTMLBody & "</font>" ' Adds default signature
【问题讨论】: