Hi. Im trying to send an email from VB6
here is the code:
'Set objmail = CreateObject("CDO.Message")
'objmail.To = "info@X"
'objmail.From = "register@X"
'objmail.subject = "Request for new user"
'objmail.textbody = "Company name: " & RName & vbCr & "Contact name: " & Cie & vbCr _
' & "Email: " & txtEmail.Text & vbCr & "Phone number: " & txtPhone.Text & _
' vbCr & vbCr & txtMes.Text
'Me.MousePointer = 11
'objmail.send
'Me.MousePointer = 0
It works fine on all the computers in my company, but when other companies try to use the program I created, they get:
"runtime error 2147220960 (80040220) The SendUsing configuration
value is invalid".
I checked a lot of websites and couldn't really find a good solution for VB6.
Could anyone help?
I think it has to do with the anonymous smtp stuff...
I could use an SMTP server with a log/pass.
but I just dont know the commands to use
and when u do objX. -> it does not show you a list of all available methods.
So that's the information I'm missing.