使用模板和数据发送邮件来通过数据库 [英] Sending mail with template and data come through the database
问题描述
爵士先生
i希望在后台发送带有模板的电子邮件。他们的数据来自
数据库...我怎么能在下面的背景中附加模板是发送给客户的邮件内容..
亲爱的Prashant rawat
您的查询请求已经注册。详情如下:
查询号码:21
项目:xxxxxxxxxxxx
规格:xxxxxxxxxxxxxxxx
联系电话:xxxxxxxx
注册人:xxxxxxxxxxx
问候
销售团队
xxxxxxxxxxxx
这是系统生成的电子邮件,不回复此电子邮件ID
Sir
i want to send email with template in background .their will be data come from
database...how can i attach template in background below is content of mail that sending to customer ..
Dear Prashant rawat
Your enquiry request has been registered. Details are mentioned below:
Enquiry No : 21
Project : xxxxxxxxxxxx
Specification : xxxxxxxxxxxxxxxx
You contact number : xxxxxxxx
Registered By : xxxxxxxxxxx
Regards
Sales Team
xxxxxxxxxxxx
This is a system generated email, do not reply to this email id
推荐答案
您好在Asp.net电子邮件发送中我们可以使用Html标签格式化发送文本。你应该使用
(br)标签来区分你解释的点。这是你可以参考的例子。
chekc this link [ ^ ]
Hi In Asp.net Email Sending we can format the sending text with Html Tags. you should use "
" (br) tag to differentiate the points as you explained. here is the example you can refere.
chekc this link[^]
Prashant你可以很容易地做同样的事情,你必须做一些大脑坚持这个。
给出你网站上存在的所有图像和CSS的路径。
Prashant you can do the same very easily, you have to do some brain storming on this.
Give the path of all the images and CSS where they exists on your website.
这篇关于使用模板和数据发送邮件来通过数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!