0

我正在尝试通过 Mailr 包发送此邮件

login<-send.mail(from="alabaoriyomi@gmail.com",
          to="alabaoriyomi@gmail.com",
          subject="Test Email",
          body="Error report.html",
          html=T,
          inline = T,
          smtp=list(host.name = "smtp.gmail.com",
                    port = 465,
                    user.name = "alabaoriyomi@gmail.com",
                    passwd = "***************",
                    smtp.ssl = TRUE),
                authenticate=T,
          send = T)

但我在下面收到此错误

Error: EmailException (Java): Sending the email to the following server failed: smtp.gmail.com:465

请问有什么我想念的吗

4

0 回答 0