blastula icon indicating copy to clipboard operation
blastula copied to clipboard

schannel: SNI or certificate check failed: SEC_E_WRONG_PRINCIPAL (0x80090322) - The target principal name is incorrect.

Open gfspiteri opened this issue 4 years ago • 0 comments

Hi, trying Blastula out on our work SMTP server, however having problems. This is the code:

email %>%
  smtp_send(
    to = "[email protected]",
    from = "[email protected]",
    subject = "Testing the `smtp_send()` function",
    credentials = creds(user = "xx", host = "xx", port = 25, use_ssl = T)
  )

I get this error: Error in curl_fetch_memory(smtp_server, handle = h) : schannel: SNI or certificate check failed: SEC_E_WRONG_PRINCIPAL (0x80090322) - The target principal name is incorrect.

If I change use_ssl = F I I get "The email message was sent successfully." but no email is received.

Not sure what I can do to troubleshoot further. Any pointers appreciated!

Thanks.

gfspiteri avatar Dec 11 '20 17:12 gfspiteri