packiaraj

packiaraj

  • NA
  • 1
  • 1.3k

ConnectEventHandler

Mar 4 2013 11:41 PM
public delegate void ConnectEventHandler(object sender,string Server,int Port);

public event ConnectEventHandler ConnectionEstablishing;

private void RaiseConnectionEstablishing(string smtpServer, int smtpPort)
        {
            if (ConnectionEstablishing != null)
            {
                ConnectionEstablishing(this, smtpServer, smtpPort);
            }
        }


just ConnectEventHandler is enough for connecting Smtp Server... what is the meaning of connectEventHandler?