//------------------------------------------------------------------------------------------------------------------------- // //------------------------------------------------------------------------------------------------------------------------- /// <summary> /// Sends data to socket. /// </summary> /// <param name="p_socket"></param> /// <param name="p_sessionid"></param> /// <param name="p_connectedip"></param> /// <param name="p_lineData"></param> private void SendLine(Socket p_socket, string p_sessionid, string p_connectedip, string p_lineData, bool p_writeLog) { SmtpCore.SendLine(p_socket, p_lineData); if (MailSniffing == true && p_writeLog == true) { ELogger.SNG.WriteLog("E", String.Format("session[{0}] >>> server[{1}]: {2}", p_sessionid, p_connectedip, p_lineData.Replace("\r\n", "<CRLF>"))); } }