[Dnsmail-cvs] dnsmail/DnsMail DnsMail.cs,1.14,1.15
Brought to you by:
ethem
From: Ethem E. <et...@us...> - 2006-08-10 10:31:50
|
Update of /cvsroot/dnsmail/dnsmail/DnsMail In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv32289/dnsmail/DnsMail Modified Files: DnsMail.cs Log Message: Removed unused namespaces. Index: DnsMail.cs =================================================================== RCS file: /cvsroot/dnsmail/dnsmail/DnsMail/DnsMail.cs,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** DnsMail.cs 10 Aug 2006 10:21:27 -0000 1.14 --- DnsMail.cs 10 Aug 2006 10:31:46 -0000 1.15 *************** *** 3,12 **** { using System; - using System.IO; - using System.Net; - using System.Threading; using System.Collections; - using System.Net.Sockets; using System.Text.RegularExpressions; using StringBuilder = System.Text.StringBuilder; using X509Certificate = System.Security.Cryptography.X509Certificates.X509Certificate; --- 3,10 ---- { using System; using System.Collections; using System.Text.RegularExpressions; + using IPAddress = System.Net.IPAddress; + using IPEndPoint = System.Net.IPEndPoint; using StringBuilder = System.Text.StringBuilder; using X509Certificate = System.Security.Cryptography.X509Certificates.X509Certificate; *************** *** 14,18 **** public class DnsMail : IDisposable, ISendableOneByOne { ! private SmtpClient m_Client; // SMTP Client #region Constants --- 12,16 ---- public class DnsMail : IDisposable, ISendableOneByOne { ! private SmtpClient m_Client; #region Constants *************** *** 532,536 **** else throw new Exception(String.Format( ! "Since the mail server rejected all of recipients (Total={0}), e-mail data cannot be transmitted.", mi.Recipients.Count)); } --- 530,534 ---- else throw new Exception(String.Format( ! "Since the mail server rejected all of the recipients (Total={0}), e-mail data cannot be transmitted.", mi.Recipients.Count)); } *************** *** 607,611 **** OnSendProgress(totalsent, remain); buffer = null; ! if ((totalsent < len) && m_Client.Poll(500, SelectMode.SelectWrite)) { goto LOOP; --- 605,609 ---- OnSendProgress(totalsent, remain); buffer = null; ! if ((totalsent < len) && m_Client.Poll(500, System.Net.Sockets.SelectMode.SelectWrite)) { goto LOOP; *************** *** 622,626 **** try { ! if (m_Client != null && m_Client.Poll(TimeOut, SelectMode.SelectWrite)) m_Client.Write(crlf_dot_crlf, 0, crlf_dot_crlf.Length); } --- 620,624 ---- try { ! if (m_Client != null && m_Client.Poll(TimeOut, System.Net.Sockets.SelectMode.SelectWrite)) m_Client.Write(crlf_dot_crlf, 0, crlf_dot_crlf.Length); } |