Pages

Men

rh

7/01/2012

SMTPclient class in DotNet framework class libarary


                  Define SMTPclient class in DotNet framework class libarary ?
                       Each classes in dotnet framework include 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 following 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

No comments :

Post a Comment