... this.GiveFeedBack( loFB, "Connected." ) If Empty(This.cPassword) If Not this.Readwrite(Sock,"HELO " + Alltrim(strServ), 220) this.GiveFeedBack( loFB, "Failed HELO" ) Exit && Leave Control Loop Endif ELSE If Not this.ReadWrite(sock,"EHLO " + alltrim(strServ), 220) this.GiveFeedBack( loFB, "Failed EHLO" ) Exit && Leave Control Loop Endif If this.ReadWrite(sock,"AUTH LOGIN ",250) this.ReadWrite(sock,strconv(This.cUserName,13), 334) this.ReadWrite(sock,strconv(This.cPassword,13), 334) *If !this.Readwrite(Sock, Strconv(This.cUserName,13),250) And !this.Readwrite(Sock, Strconv(This.cPassword,13),250) * Wait Window 'Username and Password are invalid.' *Endif Else Wait Window 'AUTH LOGIN not supported by smtp server.' Endif Endif If Not this.Readwrite(Sock,"MAIL FROM: " + Alltrim(strFrom), 250) this.GiveFeedBack( loFB, "Failed MAIL" ) Exit Endif ...Please, can anyone help me and show what should I'm doing wrong