WodSmtp is making my exe Not Responding (General questions)
Hello All
I am using ur Liecensed Component wodSmtpCom for Mailing.Sometimes i am getting a unique problem. Sometimes my exe is going to Sleep Mode. However i already set Timeout Property to 30 sec, but my exe doesnt through any Timeout ERROR,Last time Exe was in Sleep Mode approx. 40 mins. How it's Possible?
Can you pls guide me how to solve this Prob.?
Thanks in Advance.
Here is My code
Dim smtp1 As New WODSMTPCOMLib.wodSmtpCom
smtp1.LicenseKey = XXXX-YYYYYY-ZZZZZ
smtp1.Timeout = CInt(Val(strSMTPTimeOutMs) / 1000)
smtp1.Blocking = True
smtp1.HostName = strMailIP
smtp1.Connect
With smtp1.Message
.To = pInStrTo
.From = pInStrFrom
.Subject = pInStrSubject
.HTMLText = pInStrBody
End With
smtp1.SendMessage
smtp1.Disconnect
Set smtp1 = Nothing