4

sendmailRサーバー経由でメールを送信したいのですsmtp.exmail.qq.comが、サンプルを見てみましたが失敗しました。

sendmail(
      from="***@companyName.com",
      to="***@companyName.com",
      body="Hallo",   
      subject="from R procedure",
      control=list(smtpServer="smtp.exmail.qq.com"),
    )

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) :
  localhost:25 cannot be opened
4

0 に答える 0