Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to send mail in asp.net

Answers were Sorted based on User's Feedback



how to send mail in asp.net..

Answer / deep

MainMessage message = new MailMessage();
message.From = <email>;
message.To = <email>;
message.Subject= "Subject of the Message";
message.Body = "Body Text";
SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(message);

MailMessage & SmtpMail are classes defined in ASP.Net FCL (Framework Class Library). In addition to the above, you must use IIS configuration applet to enable localhost to relay messages through the SMTP service.

Is This Answer Correct ?    5 Yes 2 No

how to send mail in asp.net..

Answer / varma

by using we can send the mail using asp.net we can also
upload sir said in class i can't remember now

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Explain the main function of razor in asp.net? : asp.net mvc

0 Answers  


Tell about WebService in Asp.Net?

5 Answers   Accenture, CTS,


What is active web pages?

0 Answers  


What are the disadvantages of view state?

0 Answers  


What is the main difference between grid layout and flow layout?

1 Answers  


How to prevent client side validation from the ASP.NET validation controls?

0 Answers   Viscus Infotech,


In Code-Behind class which kind of code (server or client) is found ?

0 Answers   Siebel,


What is asp.net and ado net?

0 Answers  


What's the use of formatters in .net?

0 Answers  


How many webforms are possible on a single webpage?

6 Answers  


Explain the difference between dataset and datareader.

0 Answers  


Can the dictionary object be created in client?s scope ?

0 Answers   Satyam,


Categories