如何在asp.net中通过电子邮件发送Div标签? [英] How to Email Div tag in asp.net?

查看:75
本文介绍了如何在asp.net中通过电子邮件发送Div标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hai,
我需要通过电子邮件发送Div tage内容.我的Div标签包含Repeater控件和图像,标签控件.我在数据库中有自己的电子邮件模板.我需要用此Div标签替换模板中的字符串.

hai,
I need to Email with Div tage content. My Div tag contains Repeater control and image,label controls. i have my own Email template in Database. i need to replace the string in template with this Div tag. Help me on this.

推荐答案

假设您要使用服务器端代码发送电子邮件,那么您需要一种机制来重现由您生成的布局中继器控制.完成后,只需将其插入电子邮件的html正文中即可.
Assuming you mean to use server-side code to send the email, then you need to have a mechanism to reproduce the layout generated by your repeater control. Once you have that, just insert it into the html body of the email.


这篇关于如何在asp.net中通过电子邮件发送Div标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆