J Jon Skeet [C# MVP] Oct 13, 2004 #2 cfyam said: My C# app is working on Win98, if I want my app can send mail, how can I do? Click to expand... See http://www.indyproject.org
cfyam said: My C# app is working on Win98, if I want my app can send mail, how can I do? Click to expand... See http://www.indyproject.org
C Champika Nirosh Oct 13, 2004 #3 Hi, 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 Nirosh.
Hi, 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 Nirosh.
J Jon Skeet [C# MVP] Oct 13, 2004 #4 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 Click to expand... 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.
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 Click to expand... 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.