r Blastula Error in curl::curl_fetch_memory(url, handle = h) : MAIL failed: 530
Try use_ssl = TRUE in create_smtp_creds_key. This worked for me.
email <- compose_email(body = md( "Your email message"))smtp <- create_smtp_creds_key( id = "outlook", user = "youremail@outlook.com", provider = "office365", host = "smtp.office365.com", use_ssl = TRUE) email %>%smtp_send(to = to, from = from, subject = subject, credentials = creds_key(id = "outlook"))
After doing some searching around I found this question and answer which seemed related. Hadley's suggestion of restarting R and reinstalling {curl} fixed the issue that I was having.
I actually reinstalled both {curl} and {blastula} with
install.packages(c('blastula', 'curl'))