R
Rudy W.
I use the OSSMTP.dll to send mails.
I create a public SMTP Session object:
Public objSMTPSession As OSSMTP.SMTPSession
and I assign the pointer to a new OSSMTP session to that
object:
Set objSMTPSession = CreateObject("OSSMTP.SMTPSession")
How can I intercept events occuring in that session?
Available events are:
ConnectSMTP()
ErrorSMTP(Number As Integer, Description As String)
SendSMTP()
CloseSMTP()
I tried it like this:
Private Sub objSMTPSession_ConnectSMTP()
...
End Sub
but nothing happens
I tried also with:
Public Sub objSMTPSession_ConnectSMTP()
...
End Sub
Thanks
I create a public SMTP Session object:
Public objSMTPSession As OSSMTP.SMTPSession
and I assign the pointer to a new OSSMTP session to that
object:
Set objSMTPSession = CreateObject("OSSMTP.SMTPSession")
How can I intercept events occuring in that session?
Available events are:
ConnectSMTP()
ErrorSMTP(Number As Integer, Description As String)
SendSMTP()
CloseSMTP()
I tried it like this:
Private Sub objSMTPSession_ConnectSMTP()
...
End Sub
but nothing happens
I tried also with:
Public Sub objSMTPSession_ConnectSMTP()
...
End Sub
Thanks