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

Define data caching?

549


How do I use response redirect?

563


What is considered a service provider?

521


What is server side in asp.net?

500


What are server-side comments in ASP.NET?

551






List all templates of the repeater control.

569


How can we use Web API with ASP.NET Web Form?

651


In the Repeater control which way you can edit?

653


What is the difference between dispose() and finalize()?

501


What is difference between rest and soap?

582


What is asp.net globalization?

502


How to make paging concepts in datagrid in ASP.NET?

556


How many languages are supported by .NET at present time?

293


What is data control in asp.net?

526


What is custom attribute? How to create?

545