Update of /cvsroot/dnsmail/dnsmail
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv29370/dnsmail
Modified Files:
SmtpClient.cs
Log Message:
SmtpClient.UseLog ASAP to log initial message.
Call SmtpClient.Close first to log last message.
Index: SmtpClient.cs
===================================================================
RCS file: /cvsroot/dnsmail/dnsmail/SmtpClient.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** SmtpClient.cs 7 Aug 2006 15:10:32 -0000 1.4
--- SmtpClient.cs 7 Aug 2006 15:30:32 -0000 1.5
***************
*** 47,51 ****
}
! public SmtpClient(IPEndPoint remote, IPEndPoint local)
: base(local)
{
--- 47,51 ----
}
! public SmtpClient(IPEndPoint remote, IPEndPoint local, bool useLog)
: base(local)
{
***************
*** 57,60 ****
--- 57,61 ----
if (Client.Poll(21000000, SelectMode.SelectRead))
{
+ UseLog = useLog;
dataStream = GetStream();
recvBuffer = new byte[256];
|