我在我的 R 脚本中使用 sendmailR 来发送通知。
有时通知会失败并出现以下错误:
Unknown SMTP code: 452
Error in if (code == lcode) { : argument is of length zero
执行停止。
我该如何处理此类错误,以便即使通知失败,脚本也会继续运行?
我在我的 R 脚本中使用 sendmailR 来发送通知。
有时通知会失败并出现以下错误:
Unknown SMTP code: 452
Error in if (code == lcode) { : argument is of length zero
执行停止。
我该如何处理此类错误,以便即使通知失败,脚本也会继续运行?