尝试使用sendmailR
软件包时出现错误:
"Error in socketConnection(host = server, port = port, blocking = TRUE) : cannot open the connection In addition: Warning message: In socketConnection(host = server, port = port, blocking = TRUE) : smtp.gmail.com:25 cannot be opened
我正在尝试通过R发送电子邮件。我从在线示例中获取了不同的端口号和格式,但是仍然遇到相同的问题。