Re: Error with autentication NTLM (General questions)
This is the code (old VB6 version):
[code]oSMTP.LicenseKey = LICKEY_WODSMTP
oSMTP.Blocking = True
'Set Host and user
oSMTP.HostName = registryGetSetting(REGKEY_SMTP_HOSTNAME)
oSMTP.Login = registryGetSetting(REGKEY_SMTP_LOGIN)
oSMTP.Password = registryGetSetting(REGKEY_SMTP_PASSWORD)
'Authentication/Security options (the same values of the wodSMTP)
oSMTP.Authentication = CInt(Val(registryGetSetting(REGKEY_SMTP_AUTHENTICATION, 1 )))
oSMTP.Security = CInt(Val(registryGetSetting(REGKEY_SMTP_USESSL, 0 )))
'Port (if not informed, use the default port of the instance)
lPort = CLng(Val(registryGetSetting(REGKEY_SMTP_PORT, 0 )))
If CLng(Val(lPort)) > 0 Then oSMTP.Port = lPort
'Generate the Text/HTML mail
oSMTP.CreateTextHtml tMail.FromAddress, tMail.ToAddress, tMail.Subject, tMail.Body, tMail.TextBody
'Attachments
For i = 1 To tMail.AttachmentCount
oSMTP.Message.Attach tMail.Attachments(i)
Next i
'Send the message
oSMTP.SendMessage[/code]
...and the data in the registry (that produces the error) are:
Host -> 192.168.1.10
Port -> 25
Authentication -> AuthNTLM
Security -> SecurityNone
User -> OSTesadmin (OST is the domain)
Pwd -> XXXXX
Any idea?
Thank's again,
Gerard Llort
Offshore Tech S.L.
Complete thread:
- Error with autentication NTLM - Gerard Llort, 2007-10-23, 10:21
- Re: Error with autentication NTLM - woddrazen, 2007-10-23, 10:27
- Re: Error with autentication NTLM - Gerard Llort, 2007-10-23, 17:30
- Re: Error with autentication NTLM - wodDamir, 2007-10-23, 18:37
- Re: Error with autentication NTLM - Gerard Llort, 2007-10-24, 12:08
- Re: Error with autentication NTLM - wodDamir, 2007-10-24, 15:12
- Re: Error with autentication NTLM - woddrazen, 2007-10-24, 19:30
- Re: Error with autentication NTLM - Gerard Llort, 2007-10-30, 17:59
- Re: Error with autentication NTLM - woddrazen, 2007-10-30, 18:03
- Re: Error with autentication NTLM - Gerard Llort, 2007-10-30, 17:59
- Re: Error with autentication NTLM - woddrazen, 2007-10-24, 19:30
- Re: Error with autentication NTLM - wodDamir, 2007-10-24, 15:12
- Re: Error with autentication NTLM - Gerard Llort, 2007-10-24, 12:08
- Re: Error with autentication NTLM - wodDamir, 2007-10-23, 18:37
- Re: Error with autentication NTLM - Gerard Llort, 2007-10-23, 17:30
- Re: Error with autentication NTLM - woddrazen, 2007-10-23, 10:27