通过电子邮件发送注册表 [英] sending a registration form through email

查看:143
本文介绍了通过电子邮件发送注册表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一个完整的表格,该表格将客户联系电话,地址,客户类型,他的兴趣以及他的查询发送到电子邮件ID.如何通过asp.net(c#)发送所有这些,我希望它单独出现在邮箱中?我试图用消息正文发送所有这些消息,但它的外观不佳.请帮忙.代码在下面.

i want a complete form that takes the customer contact number , address, type of customer, his interest in, and his query to be sent to an email id. how to send all this through asp.net(c#)and i want it to appear all this separately in mailbox? i have tried to send all this with message body but its not giving a good look. please help. the code is below

推荐答案

您是否尝试过任何发送电子邮件的方法?您必须准备一个HTML 表或必须在电子邮件正文中发送所有字段.尝试尝试一下,如果发现卡在任何地方,请寻求帮助.那么所有的人都会欢迎您的查询.要求代码或其他东西不是一个好习惯..

谢谢
Ashish
Have you tried anything for sending email saadiqa?? you have to prepare a HTML table or have to send all the field in your email body text.Try something and if you got stuck anywhere then ask for a help. then all will welcome your query. Its not a good habbit to ask for a code or some thing..

Thanks
Ashish


好,继续吧.如果您遇到问题,请告诉我们.

试试吧,这并不难,您需要:
1.转到文本框
2.主题文本框
3.联系电话文本框
4.地址文本框
5.客户文本框的类型
6.客户对doprdown感兴趣
7.他的查询textarea
8.发送电子邮件按钮
外观精美的表单上共有15个控件(已经添加了7个标题标签).

收到后,将发送电子邮件"代码放入发送"按钮.具有定义/默认的来自电子邮件地址".完成!

试试吧!
Good, go ahead and do it. Do tell us if you get stuck and have issue.

Try out, it''s not that tough, you need:
1. To textbox
2. Subject textbox
3. Contact number textbox
4. Address textbox
5. Type of customer textbox
6. Customers interest in doprdown
7. His query textarea
8. send email button
Total 15 controls (+ 7 labels for caption is already added) on a form designed to look good.

Once you have it, put send email code in the send button. Have a defined/default ''from email address''. Done!

Try!



您是否已使用上述解决方案解决了问题.如果不使用以下代码

使用Smtp客户端在html中启动邮件实例和消息正文.

谢谢
购买蕾丝
Hi,
Have you solved your problem with the above solutions.if not use the below code

Use Smtp client to initiate the mail instance and message body in html.

Thanks
Buy Lace


这篇关于通过电子邮件发送注册表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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