rstudio / blastula

Easily send great-looking HTML email messages from R
https://pkgs.rstudio.com/blastula
Other
546 stars 85 forks source link

Issue with credentials in Blastula #215

Open sunainakollu opened 4 years ago

sunainakollu commented 4 years ago

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") ) ``

sanjmeh commented 4 years ago

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?