I have a rad-editor in ASPX page, while writing some text and adding screen shot its saved in DB as like in pic-1. I need to send it as email but whatever email I'm getting its showing the that content only not image. (Pic-2). In code I'm specifying html format.
我在ASPX页面中有一个rad编辑器,同时编写一些文本并添加屏幕截图,将其保存在数据库中,就像在pic-1中一样。我需要将其作为电子邮件发送,但无论我收到的任何电子邮件显示该内容只是不是图像。 (PIC-2)。在代码中我指定了html格式。
And code is pic-3
代码是pic-3
How solve it.
如何解决它。
Thanks in advance. (Note: Ex of saved data and email i'm getting are different)
提前致谢。 (注意:我收到的已保存数据和电子邮件的不同之处)
1 个解决方案
#1
0
If you wants to mail you should attach only Base64 string to the email.
如果您想要邮寄,则只应将Base64字符串附加到电子邮件中。
Eg. "data:image/jpeg;base64,YourStringHere"
#1
0
If you wants to mail you should attach only Base64 string to the email.
如果您想要邮寄,则只应将Base64字符串附加到电子邮件中。
Eg. "data:image/jpeg;base64,YourStringHere"