how to send mail in asp.net
Answers were Sorted based on User's Feedback
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 |
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 |
Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?
Explain the use of dataadapter.
.net allows which inheritence
6 Answers AG Technologies, Samcomm,
How to you can limit Access to Web API to Specific HTTP Verb?
What is difference between masterpage and user control, what is the objective of master page when we had user control in .NET 1.1 version
Explain the life cycle of an ASP .NET page.
What is the difference between system.stringbuilder and system.string
What is .net framework and what are the main components of it?
How many types of cookies are available in asp?
Explain different types of validators in asp.net?
How to store a dataset in a viewstate?
Explain the difference between asp.net mvc and asp.net webforms
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)