Define the list of properties, methods and events included in SmtpClient class in the Framework?

 Posted by Tripati_tutu on 10/20/2010 | Category: .NET Framework Interview questions | Views: 2437 | Points: 40

Here is some partial list of the members of the SmtpClient class...

1) Properties:
• Host- The name or IP address of your email server.
• Port- The number of the port to use when sending an email message.

2) Methods:
• Send- It enables you to send an email message synchronously
• SendAsync- It enables you to send an email message asynchronously.

3) Events:
• Send Completed- It is raised when an asynchronous send operation completes.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response