Could u send me the answer for this question as soon as
possible.
Im using 'System.net.mail.mailmessage' namespace for
sending a mail from my application. What should I mention
in 'system.net.mail.mailmessage.to' property and What
should I mention in 'system.net.mail.mailmessage.from'
property.



Could u send me the answer for this question as soon as possible. Im using 'System.net.mai..

Answer / pavan chakilam

for to: u need to mention email id to whom u want to send
the mail.

for From: u have to mention email id of u or any valid
emaid id.

but mention the host correctly.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What are the types of authentication in asp.net?

0 Answers  


What is the part of url?

0 Answers  


what are types of viewstate

1 Answers  


How can you handle unmanaged code exceptions in asp.net?

0 Answers  


What are the different types of validation controls in asp.net?

0 Answers  






Difference between connected architecture and Dissconnected architecture?

2 Answers  


In the context of a comparison, what is object identity versus object equivalence?

1 Answers  


How can I open ashx file in mobile?

0 Answers  


You are planning the deployment of an ASP.NET application. The application uses a Visual Studio .NET component named DataAccess that will be shared with other applications on your Web server. You are using Visual Studio .NET to create a Windows Installer package. You need to deploy DataAccess and the ASP.NET application so that they can be uninstalled later of necessary. What should you do? A . Create a setup project for DataAccess. Add the ASP.NET application in a custom action. B . Create a setup project for the ASP.NET application. Create another setup project for DataAccess. C . Create a Web setup project for the ASP.NET application. Add a project output for DataAccess. D . Create a Web setup project for the ASP.NET application. Add a merge module for DataAccess.

3 Answers   Syntax Softtech,


Whats MSIL, and why should my developers need an appreciation of it if at all?

3 Answers   Siebel,


What are app services?

0 Answers  


What?s a bubbled event?

6 Answers   Visual Soft,


Categories