Champika Nirosh <te**@test.lk> wrote:
You got to do it with out CDO sys when it come to sending mail in win 98..
have a look at this
http://www.planet-source-code.com/vb...=641&lngWId=10
Yuk - I'd avoid that code at all costs, to be honest. Things like:
<code>
while (s.Available==0)
{
System.Threading.Thread.Sleep(100);
}
s.Receive(bytes, 0, s.Available, SocketFlags.None);
sResponse = Encoding.ASCII.GetString(bytes);
</code>
along with a lack of naming convention, and putting the class in the
System.Web.Mail namespace suggest a distinct lack of experience to me.
As I suggested before, I'd use Indy.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too