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 the latest version of asp.net?

0 Answers  


What are the asp.net server side objects?

0 Answers  


what are the advantage in asp.net and what are the question ask for interview in vb.net and asp.net

0 Answers   TCS,


Explain the concept of View Model in MVC?

0 Answers   B-Ways TecnoSoft,


What are directives in asp.net?

0 Answers  






When we are requesting a new URL through Response.Redirect() the new page wil open on the new browser window or it wil open in the same window? If we use Server.Transfer() what wil happen?

1 Answers  


How do you hide the columns?

0 Answers  


What are the ways to sending the data in ASP.NET page?

0 Answers  


Why cyclomatic complexity is important?

0 Answers  


Describe the difference between inline and code behind - which is best in?

0 Answers  


What is the difference between an EXE and a DLL?

18 Answers   Infosys, JK Associates, Persistent, TATA, Technosoft, Wipro,


Types of exceptions in dot net???

1 Answers   TCS,


Categories