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 use of Administration tool in Asp.net 2.0?

2 Answers  


What are the properties of the eventargs argument when capturing keyboard events?

0 Answers  


Where the assembly is stored in asp.net?

0 Answers  


In which event of page cycle is the viewstate available?

0 Answers  


What are the various types of validation controls provided by asp.net?

0 Answers  


How to kill more than one session variables at a time

9 Answers   iSoft,


Can a master page inherit another master page?

13 Answers   Emphasis, IBM, NIIT, Sebiz Square,


In a Code-Behind class generally which type of code is found ?

3 Answers   Siebel,


If i have a page where i create an instance of a dll and without invoking any method can I send values to next page ?

1 Answers   Satyam,


How should I destroy my objects in asp.net?

0 Answers  


what is Theme in Asp.net 2.0

1 Answers   Syntel,


What is cookies cache and session?

0 Answers  


Categories