Send mail in Win98

  • Thread starter Thread starter cfyam
  • Start date Start date
Champika Nirosh said:
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/scripts/ShowCode.asp?txtCodeId=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.
 
Back
Top