Continuing the discussion from blastula Error in curl_fetch_memory(smtp_server, handle = h) : Login denied
And another post :
The above two posts talk about the same problem I still donot have their solutions work. Perhaps there is some other problem this time.
I tried both:
Option 1:
email %>%
smtp_send(
to = "yyyyy@gmail.com",
from = "xxxxx@gmail.com",
subject = "Testing the `smtp_send()` function",
credentials = blastula::creds(user = "xxxxx",provider = "gmail")
)
AND
Option 2:
email %>%
smtp_send(
to = "yyyyy@gmail.com",
from = "xxxxx@gmail.com",
subject = "Testing the `smtp_send()` function",
credentials = creds_file("emailcreds.txt")
)
Both give the same error:
Error in curl_fetch_memory(smtp_server, handle = h) : Login denied
Can the experts please guide me how to even attempt to diagnose this issue?
Thanks