Define SMTPclient class in DotNet framework class libarary

Each classes in dotnet framework inclue some properties,method and events.These properties ,methods and events are member of a class.SMTPclient class mainly concern with sending mail.This class contain the folling member.

Properties:-

Host:-The name or IP address of email server.

Port:-Port that is use when sending mail.

Methods:-

Send:-Enables us to send email synchronously.

SendAsynchronous:-Enables us to

send an email asynchronously.

Event:-

SendCompleted:-This event raised when an asynchronous send opertion completes.