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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is state management in asp.net with example?

452


Explain asp.net mvc request life cycle? : asp.net mvc

485


What is session handling in a webfarm, how it can work with its limits?

620


What is the difference between custom controls and user controls?

470


What are resource file and how do we generate resource file?

558






how can we create wcf in asp.net and how can we cll that in to asp.net application?plsss tel me each step clearly

1540


List the types of authentication supported by asp.net?

522


Can we handle the error and redirect to some pages using web.config?

900


How to turn off cookies for a page?

572


Demonstrate Render and PreRender?

593


Explain About WebService

647


Explain a program using razor view engine to create a simple application? : asp.net mvc

491


What are the new features added from ASP to ASP.NET?

564


What are sharepoint pages?

489


Give some salient points of difference between request processor and request dispatcher.

608