Home » Interview » Technology

How can you send an email message from an ASP.NET Web page?

Correct Answer: You can use the SystemNetMailMailMessage and the SystemNetMailSmtpMail classes to send an email in your Web pages In order to send an email through your mail server, you need to create an object of the SmtpClient class and set the server name, port, and credentials

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion