Error using sendmailR to send email

I want to use sendmailRsend email through the server smtp.exmail.qq.com, I looked at the sample to do this, but could not, how can I process it?

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
source share

All Articles