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 is Web Gardening? How would using it affect a design ?

1 Answers   Infogain,


Rate yourself in .net and sql database?

1 Answers   BrickRed, Infosys, Satyam, SP Software,


Is it possible to add aspx.vb file in to C# Web Project? If so how can i use the vb file in the C# Web project?

3 Answers  


Why would a company use an application service provider?

0 Answers  


What is asynchronous call?

0 Answers  






What is Generic? explain clearly?

3 Answers   iGate,


how to add cliet side event to server side? and how to register client script to sever side? wt difference these two

3 Answers   PSI Data Systems,


What is a web farm?

0 Answers  


What is a uri query?

0 Answers  


I have developed a web application in asp.net 2.0 with Access as back end i am trying to gereate report/export data in excel. After hosting the site i am not getting any error or such exported excel file. but using the source code from my system it works fine. Could any one tell me why it is happening and what is its solution.

2 Answers  


Explain what is an assembly?

0 Answers  


How does asp.net work?

0 Answers  


Categories