Results 1 to 12 of 12

Thread: [RESOLVED] Email setup (SMTP, port, SSL, etc) - did it change in Windows 10

Hybrid View

  1. #1
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    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

  2. #2

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    14

    Re: Email setup (SMTP, port, SSL, etc) - did it change in Windows 10

    Quote Originally Posted by westconn1 View Post
    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
    In terms of the actual code, where/what/how would the cdoNTLM = 2 be set? Sorry. Appreciate the help, but I am confused about your comment and how it folds in.

    I will be honest here, I grabbed most of this code from this forum about 5+ years ago and dont really know how it works. Obviously i can see and understand what is being done in the code (logically) but i dont know the process well enough to insert it into this shared code.

    TIA for the answer(S)

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    14

    Re: Email setup (SMTP, port, SSL, etc) - did it change in Windows 10

    Quote Originally Posted by westconn1 View Post
    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
    In terms of the actual code, where/what/how would the cdoNTLM = 2 be set? Sorry. Appreciate the help, but I am confused about your comment and how it folds in.

    I will be honest here, I grabbed most of this code from this forum about 5+ years ago and dont really know how it works. Obviously i can see and understand what is being done in the code (logically) but i dont know the process well enough to insert it into this shared code.

    TIA for the answer(S)

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
  •  



Click Here to Expand Forum to Full Width