OSSMTP

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top