Re: Crash using authentication sample (General questions)
I'm using 2.2.5.48
Run the VB6 code in debug and put a breakpoint on the select statement.
Step through and VB6 crashes.
Without the breakpoint it works OK.
I've attached the exact code i'm using.
Private Sub wodSmtpServer1_Authenticate(ByVal User As WODSMTPSERVERCOMLib.ISmtpUser, ByVal Username As String, ByVal Password As String, ByVal AuthMethod As WODSMTPSERVERCOMLib.SmtpAuthentications, Action As WODSMTPSERVERCOMLib.SmtpActions)
Select Case AuthMethod
Case AuthLogin
If Username = SMTPRelay And Password = SMTPRelay Then Action = Allow
Case AuthPlain
If Username = SMTPRelay And Password = SMTPRelay Then Action = Allow
Case AuthCramMD5
If Username = SMTPRelay And User.CalcCramMD5( SMTPRelay ) = Password Then Action = Allow
End Select
End Sub
Complete thread:
- Crash using authentication sample - mbeaton, 2007-02-01, 12:03
- Re: Crash using authentication sample - woddrazen, 2007-02-01, 12:36
- Re: Crash using authentication sample - mbeaton, 2007-02-01, 12:59
- Re: Crash using authentication sample - woddrazen, 2007-02-01, 13:12
- Re: Crash using authentication sample - mbeaton, 2007-02-01, 12:59
- Re: Crash using authentication sample - woddrazen, 2007-02-01, 12:36