[Dnsmail-cvs] dnsmail/DnsMail DnsMail.cs,1.9,1.10
Brought to you by:
ethem
From: Ethem E. <et...@us...> - 2006-08-07 11:26:10
|
Update of /cvsroot/dnsmail/dnsmail/DnsMail In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv30273/dnsmail/DnsMail Modified Files: DnsMail.cs Log Message: - Old SmtpStream removed, new SmtpClient added. - Encoding member moved to MailInfo. - LastCode, LastAnswer, LastResponse moved to SmtpClient (It will be redesigned for backward compatible). - Authenticated and SentHandler converted to EventHandler. - sayhello, sslbegin, login and sendmailfrom are in initialize now, rcptto removed. - InternalResolve prototype changed. - Mail header creation moved to MailInfo.ToString(to,count) - SendAndReceive moved to new SmtpClient. - Coding art. tabs, spaces, etc... :) Index: DnsMail.cs =================================================================== RCS file: /cvsroot/dnsmail/dnsmail/DnsMail/DnsMail.cs,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** DnsMail.cs 7 Aug 2006 08:43:41 -0000 1.9 --- DnsMail.cs 7 Aug 2006 11:26:06 -0000 1.10 *************** *** 9,41 **** using System.Net.Sockets; using System.Text.RegularExpressions; - using Encoding = System.Text.Encoding; - using HttpContext = System.Web.HttpContext; - using HttpRequest = System.Web.HttpRequest; using StringBuilder = System.Text.StringBuilder; - using DTFI = System.Globalization.DateTimeFormatInfo; using X509Certificate = System.Security.Cryptography.X509Certificates.X509Certificate; public class DnsMail : IDisposable, ISendableOneByOne [...1293 lines suppressed...] } buffchar = null; ! FINISH: len = sent = 0; } ! finally { ! try { ! if (m_Client != null && m_Client.Poll(TimeOut, SelectMode.SelectWrite)) ! m_Client.Write(crlf_dot_crlf, 0, crlf_dot_crlf.Length); } ! catch { } } } #endregion } }; |