如何从用户那里获得反馈 [英] How to get feedback from users

查看:95
本文介绍了如何从用户那里获得反馈的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果用户发送他的详细信息,如姓名,电子邮件,ph等等,然后点击发送按钮..我们可以得到他的详细信息。我想要的代码..如何写它...





请,,,,,,, .........



谢谢和问候,

Pavan。

if user send his details like name,email,ph no etc.then click on Send button..how can we get his details .i want that code..how to write it..


please,,,,,,,.........

Thanks and regards,
Pavan.

推荐答案

这个链接将帮助你



http://mrbool.com/inserting-data-into-sql-server-database-using-csharp-and-asp-net/25091
This link will help you

http://mrbool.com/inserting-data-into-sql-server-database-using-csharp-and-asp-net/25091


你必须使用系统.Net.Mail类用C#发送电子邮件。邮件服务器设置在system.net mailsettings部分下的web.config文件中设置。考虑使用GMail帐户发送电子邮件将使用以下主机设置,端口号为587:



You have to use the System.Net.Mail class to send emails in C#. The mail server settings are set up in your web.config file under the system.net mailsettings section. Consider that email is sent using GMail account would use the following host settings with port number 587:

<system.net>
    <mailSettings>
      <smtp from="[email_address_here]">
        <network host="smtp.gmail.com" port="587" userName="[username]" password="[password]" enableSsl="true" />
      </smtp>
    </mailSettings>
</system.net>





在顶部,您还可以包含



At the top you may also include the class

using System.Net.Mail;



有SMTP客户端访问权限。


to have SMTP Client Access.


这篇关于如何从用户那里获得反馈的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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