来自服务器的Outlook中的嵌入式图像 [英] Embedded Image in outlook from server
本文介绍了来自服务器的Outlook中的嵌入式图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在服务器中有图像我想在电子邮件发送时通过Outlook发送图像的一些链接或路径图像应该从服务器出现
我想要的只是应显示来自服务器的图像的链接或路径或HTML标记
解决方案
设置MailMessage.IsBodyHtml Property [ ^ ]为true。
示例 - 如何发送简单的Html电子邮件? [ ^ ]
在 MailMessage.Body Property [ ^ ],只需设置HTML。
对于图片链接,请做...
message.Body = < a href ='path_of_image'> ImageName< / a>;
I have images in Server i want to put some link or Path of image in email when email send through outlook the image should appear from server
I want just link or path or HTML tag which should be displayed the image from server
解决方案
Set MailMessage.IsBodyHtml Property[^] to true.
Example - How do I send a simple Html email?[^]
In the MailMessage.Body Property[^], just set the HTML.
For image link, do like...
message.Body = "<a href='path_of_image'>ImageName</a>";
这篇关于来自服务器的Outlook中的嵌入式图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文