When I create the file it prompts for smtp password, I provide it and it generates a message 'The SMTP credentials file (filename) has been generated'. When I run the smtp send it throws the following error: Error in curl::curl_fetch_memory(url, handle = h) : SSL: no alternative certificate subject name matches target host name 'host'
``
library(blastula)
library(glue)
email <- compose_email(body = md(email_body))
cs<-create_smtp_creds_file(
file = "filename",
user = "username",
host = "smtp server",
port = 25,
use_ssl = TRUE
)
email %>%
smtp_send(
from = "sender",
to = "receiver",
subject = "Testing the smtp_send() function",
credentials = creds_file(file = "filename")
)
``
I get the following error: Error in curl_fetch_memory(smtp_server, handle = h) : Login denied (was working till May). The error is similar but not identical. Do you think these are related?
When I create the file it prompts for smtp password, I provide it and it generates a message 'The SMTP credentials file (filename) has been generated'. When I run the smtp send it throws the following error: Error in curl::curl_fetch_memory(url, handle = h) : SSL: no alternative certificate subject name matches target host name 'host' `` library(blastula) library(glue)
email <- compose_email(body = md(email_body)) cs<-create_smtp_creds_file( file = "filename", user = "username", host = "smtp server", port = 25, use_ssl = TRUE ) email %>% smtp_send( from = "sender", to = "receiver", subject = "Testing the
smtp_send()
function", credentials = creds_file(file = "filename") ) ``