|
-
May 9th, 2019, 07:50 AM
#8
Re: Email setup (SMTP, port, SSL, etc) - did it change in Windows 10
When I change the authentication line to
sendusing must be 2
3 would give an invalid field hence the error
Code:
If chkAuthentication.Value = 1 Then
objemail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
Else
objemail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoAnonymous
End If
try cdoNTLM (=2) or 3 (not sure of the constant), but that was what i was using, to see if it helps
i had no issue with the default firewall setup, i doubt port 25 would be blocked and i had no issue with the special port that my emails go out on, if the emails from windows 10 are going through the same outgoing server i do not think there should be any problem
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|